jvb: make colibri websocket endpoints dynamic for multiple jvbs
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
991f695275
commit
b277926332
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
export LOCAL_ADDRESS=$(ip addr show dev "$(ip route|awk '/^default/ { print $5 }')" | grep -oP '(?<=inet\s)\d+(\.\d+){3}')
|
||||
|
||||
if [[ -z $JVB_AUTH_PASSWORD ]]; then
|
||||
echo 'FATAL ERROR: JVB auth password must be set'
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user