initial(old rep had backup files)
This commit is contained in:
5
tests/check-ips.sh
Executable file
5
tests/check-ips.sh
Executable file
@ -0,0 +1,5 @@
|
||||
# List all extra fields
|
||||
#ssh root@62.217.183.88 -t 'cd /var/lib/docker/volumes/fema_storage/_data; find -name params.json | while read file; do echo "$file - $(cat $file | jq ".EXTRA")"; done'
|
||||
|
||||
# List ips for volgabus
|
||||
ssh root@62.217.183.88 -t 'cd /var/lib/docker/volumes/fema_storage/_data; find -name params.json | while read file; do echo "$file - $(cat $file | jq "if (.SYSTEM.REG_NUMBER | contains(\"АВТ\")) then .EXTRA else \"NONE\" end")"; done | grep -v NONE'
|
Reference in New Issue
Block a user