diff --git a/deployment/deploy_vm.sh b/deployment/deploy_vm.sh index 74592de..2ca37b5 100755 --- a/deployment/deploy_vm.sh +++ b/deployment/deploy_vm.sh @@ -63,8 +63,6 @@ if ! incus list --format csv | grep -q "$INCUS_VM_NAME"; then incus storage volume set ss-base "$DOCKER_VOLUME_NAME" size="${DOCKER_DISK_SIZE_GB}GB" fi - - SSDATA_VOLUME_NAME="$VIRTUAL_MACHINE-ss-data" if ! incus storage volume list ss-base | grep -q "$SSDATA_VOLUME_NAME"; then incus storage volume create ss-base "$SSDATA_VOLUME_NAME" --type=filesystem @@ -106,7 +104,7 @@ if ! incus list --format csv | grep -q "$INCUS_VM_NAME"; then # fi incus start "$INCUS_VM_NAME" - sleep 10 + sleep 15 bash -c "./wait_for_ip.sh --incus-name=$INCUS_VM_NAME" diff --git a/deployment/down.sh b/deployment/down.sh index 8261785..c2f30a0 100755 --- a/deployment/down.sh +++ b/deployment/down.sh @@ -78,14 +78,6 @@ for VIRTUAL_MACHINE in $SERVERS; do if incus list | grep -q "$INCUS_VM_NAME"; then bash -c "./stop.sh --server=$VIRTUAL_MACHINE" - # if [ "$VIRTUAL_MACHINE" = www ] && [ "$BACKUP_WWW_APPS" = true ]; then - # APP_LIST="letsencrypt ghost nextcloud gitea nostr" - # echo "INFO: Backing up WWW apps." - # for APP in $APP_LIST; do - # bash -c "$(pwd)/project/www/backup_www.sh --app=$APP" - # done - # fi - incus stop "$INCUS_VM_NAME" incus delete "$INCUS_VM_NAME" diff --git a/deployment/up.sh b/deployment/up.sh index f975251..8993b50 100755 --- a/deployment/up.sh +++ b/deployment/up.sh @@ -309,8 +309,6 @@ if [ -n "$LNPLAY_SERVER_MAC_ADDRESS" ] || [ "$SKIP_LNPLAY_SERVER" = false ]; the VMS_TO_PROVISION="$VMS_TO_PROVISION lnplayserver" fi - - for VIRTUAL_MACHINE in $VMS_TO_PROVISION; do export VIRTUAL_MACHINE="$VIRTUAL_MACHINE"