From 7a705828b7ba490bbd9800fa3dfa824ba2574d76 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Fri, 10 Mar 2023 11:14:55 -0500 Subject: [PATCH] Update migration warning message. --- deployment/destroy.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/deployment/destroy.sh b/deployment/destroy.sh index 59da452..79f1597 100755 --- a/deployment/destroy.sh +++ b/deployment/destroy.sh @@ -10,8 +10,13 @@ if lxc remote get-default | grep -q "local"; then exit 1 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? 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