1
1

Compare commits

..

No commits in common. "efac5e4f4595a5827aded15f7c86cc6dee8970a3" and "dc40e732ee5cba34cf8209205dc98d0d3f69c4e8" have entirely different histories.

3 changed files with 7 additions and 7 deletions

View File

@ -87,10 +87,8 @@ export LXD_CONFIG_PATH="$SS_ROOT_PATH/lxd"
export LXD_UBUNTU_BASE_VERSION="jammy"
export BASE_IMAGE_VM_NAME="ss-base-${LXD_UBUNTU_BASE_VERSION//./-}"
export BASE_LXC_IMAGE="ubuntu/$LXD_UBUNTU_BASE_VERSION/cloud"
WEEK_NUMBER=$(date +%U)
export UBUNTU_BASE_IMAGE_NAME="ss-ubuntu-${LXD_UBUNTU_BASE_VERSION//./-}-$WEEK_NUMBER"
export DOCKER_BASE_IMAGE_NAME="ss-docker-${LXD_UBUNTU_BASE_VERSION//./-}-$WEEK_NUMBER"
export UBUNTU_BASE_IMAGE_NAME="ss-ubuntu-${LXD_UBUNTU_BASE_VERSION//./-}"
export DOCKER_BASE_IMAGE_NAME="ss-docker-${LXD_UBUNTU_BASE_VERSION//./-}"
export OTHER_SITES_LIST=
export BTCPAY_ALT_NAMES=

View File

@ -10,7 +10,7 @@ if lxc remote get-default | grep -q "local"; then
exit 1
fi
echo "WARNING: This will DESTROY any existing VMs!"
echo "WARNING: This will DESTROY any existing VMs! Use the --purge flag to delete ALL Sovereign Stack LXD resources."
RESPONSE=
read -r -p "Are you sure you want to continue (y/n): ": RESPONSE

View File

@ -26,13 +26,14 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do
echo
echo
echo "Project: $PROJECT_NAME"
echo "----------------------------------------------------------"
echo "----------------------"
if ! lxc info | grep "project:" | grep -q "$PROJECT_NAME"; then
if lxc project list | grep -q "$PROJECT_NAME"; then
lxc project switch "$PROJECT_NAME"
fi
fi
echo
echo " Networks:"
lxc network list
echo
@ -41,5 +42,6 @@ for PROJECT_CHAIN in ${DEPLOYMENT_STRING//,/ }; do
echo
echo " Instances (VMs):"
lxc list
echo "----------------------------------------------------------"
echo
done