diff --git a/deployment/down.sh b/deployment/down.sh index d9c324a..1ab8b4e 100755 --- a/deployment/down.sh +++ b/deployment/down.sh @@ -63,23 +63,19 @@ source ./project/domain_env.sh source ./domain_list.sh - - SERVERS= if [ "$SKIP_WWW_SERVER" = false ] && [ -n "$WWW_SERVER_MAC_ADDRESS" ]; then SERVERS="www $SERVERS" fi if [ "$SKIP_BTCPAY_SERVER" = false ] && [ -n "$BTCPAY_SERVER_MAC_ADDRESS" ]; then - SERVERS="btcpayserver" + SERVERS="$SERVERS btcpayserver" fi if [ "$SKIP_LNPLAY_SERVER" = false ] && [ -n "$LNPLAY_SERVER_MAC_ADDRESS" ]; then - SERVERS="lnplayserver $SERVERS" + SERVERS="$SERVERS lnplayserver" fi - - for VIRTUAL_MACHINE in $SERVERS; do INCUS_VM_NAME="$VIRTUAL_MACHINE-${PRIMARY_DOMAIN//./-}"