1
1
Fork 1

Disable deletion of BASE_IMAGE_VM_NAME VM.

This commit is contained in:
Derek Smith 2023-10-19 22:48:06 -04:00
parent 59466556f7
commit 5c41c7a609
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
1 changed files with 3 additions and 2 deletions

View File

@ -90,8 +90,9 @@ fi
echo "INFO: Publishing '$BASE_IMAGE_VM_NAME' as image '$DOCKER_BASE_IMAGE_NAME'. Please wait." > /dev/null
lxc publish -q --public "$BASE_IMAGE_VM_NAME/$UBUNTU_BASE_IMAGE_NAME" --project default --alias="$DOCKER_BASE_IMAGE_NAME" --compression none > /dev/null
echo "INFO: Success creating the base image. Deleting artifacts from the build process."
lxc delete -f "$BASE_IMAGE_VM_NAME" --project default
# echo "INFO: Success creating the base image. Deleting artifacts from the build process." > /dev/null
# lxc delete -q -f "$BASE_IMAGE_VM_NAME" --project default > /dev/null
# # now let's get a snapshot of each of the blocks/chainstate directories.
# for CHAIN in testnet mainnet; do