1
1
Fork 1
This commit is contained in:
Derek Smith 2023-12-17 16:50:24 -05:00
parent c4183a0b63
commit 56916a7d33
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
3 changed files with 1 additions and 13 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"