Update migration warning message.

This commit is contained in:
Derek Smith 2023-03-10 11:14:55 -05:00
parent 867771c908
commit 7a705828b7
Signed by: farscapian
GPG Key ID: B443E530A14E1C90

View File

@ -10,8 +10,13 @@ if lxc remote get-default | grep -q "local"; then
exit 1
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."
read -r -p "Are you sure you want to continue? Responding 'y' here results in destruction of user data!": RESPONSE
read -r -p "Are you sure you want to continue (y/n): ": RESPONSE
if [ "$RESPONSE" != "y" ]; then
echo "STOPPING."
exit 0