Prompt and help udpates.

This commit is contained in:
Derek Smith 2023-03-15 11:19:34 -04:00
parent 672be48b08
commit 16d4339af6
Signed by: farscapian
GPG Key ID: B443E530A14E1C90
3 changed files with 17 additions and 6 deletions

View File

@ -10,10 +10,7 @@ if lxc remote get-default | grep -q "local"; then
exit 1 exit 1
fi fi
echo "WARNING: this script backs up your existing remote and saves all data locally in the SSME." echo "WARNING: This will DESTROY any existing VMs!"
echo " Then, all your VMs are destroyed on the remote resulting is destruction of user data."
echo " But then we re-create everything using the new codebase, then restore user data to the"
echo " newly provisioned VMs."
RESPONSE= RESPONSE=
read -r -p "Are you sure you want to continue (y/n): ": RESPONSE read -r -p "Are you sure you want to continue (y/n): ": RESPONSE

View File

@ -1,5 +1,5 @@
You are in the Sovereign Stack management environment. From here, you can issue several commands: You are in the Sovereign Stack Management Environment (SSME). From here, you can issue several commands:
ss-remote - Take a remote SSH endpoint under management of Sovereign Stack. ss-remote - Take a remote SSH endpoint under management of Sovereign Stack.
ss-deploy - Creates a deployment to your active LXD remote. ss-deploy - Creates a deployment to your active LXD remote.
@ -7,6 +7,6 @@ You are in the Sovereign Stack management environment. From here, you can issue
ss-update - brings an existing deployment up to the newest version of Sovereign Stack. ss-update - brings an existing deployment up to the newest version of Sovereign Stack.
ss-show - show the lxd resources associated with the current remote. ss-show - show the lxd resources associated with the current remote.
For more infomation about all these topics, consult the Sovereign Stack website. Relevant posts include: For more infomation about all these topics, consult the Sovereign Stack website starting with:
- https://www.sovereign-stack.org/tag/instance-management/ - https://www.sovereign-stack.org/tag/instance-management/

View File

@ -11,6 +11,20 @@ if git update-index --refresh | grep -q "needs update"; then
exit 1 exit 1
fi fi
echo "WARNING: this script backs up your existing remote and saves all data locally in the SSME."
echo " Then, all your VMs are destroyed on the remote resulting is destruction of user data."
echo " But then we re-create everything using the new codebase, then restore user data to the"
echo " newly provisioned VMs."
RESPONSE=
read -r -p "Are you sure you want to continue (y/n): ": RESPONSE
if [ "$RESPONSE" != "y" ]; then
echo "STOPPING."
exit 0
fi
USER_TARGET_PROJECT= USER_TARGET_PROJECT=
# grab any modifications from the command line. # grab any modifications from the command line.