Fix down script bug.
This commit is contained in:
parent
5828fd1a38
commit
c457118aec
@ -63,23 +63,19 @@ source ./project/domain_env.sh
|
|||||||
source ./domain_list.sh
|
source ./domain_list.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SERVERS=
|
SERVERS=
|
||||||
if [ "$SKIP_WWW_SERVER" = false ] && [ -n "$WWW_SERVER_MAC_ADDRESS" ]; then
|
if [ "$SKIP_WWW_SERVER" = false ] && [ -n "$WWW_SERVER_MAC_ADDRESS" ]; then
|
||||||
SERVERS="www $SERVERS"
|
SERVERS="www $SERVERS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$SKIP_BTCPAY_SERVER" = false ] && [ -n "$BTCPAY_SERVER_MAC_ADDRESS" ]; then
|
if [ "$SKIP_BTCPAY_SERVER" = false ] && [ -n "$BTCPAY_SERVER_MAC_ADDRESS" ]; then
|
||||||
SERVERS="btcpayserver"
|
SERVERS="$SERVERS btcpayserver"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$SKIP_LNPLAY_SERVER" = false ] && [ -n "$LNPLAY_SERVER_MAC_ADDRESS" ]; then
|
if [ "$SKIP_LNPLAY_SERVER" = false ] && [ -n "$LNPLAY_SERVER_MAC_ADDRESS" ]; then
|
||||||
SERVERS="lnplayserver $SERVERS"
|
SERVERS="$SERVERS lnplayserver"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for VIRTUAL_MACHINE in $SERVERS; do
|
for VIRTUAL_MACHINE in $SERVERS; do
|
||||||
|
|
||||||
INCUS_VM_NAME="$VIRTUAL_MACHINE-${PRIMARY_DOMAIN//./-}"
|
INCUS_VM_NAME="$VIRTUAL_MACHINE-${PRIMARY_DOMAIN//./-}"
|
||||||
|
Loading…
Reference in New Issue
Block a user