Updated shutdown message for clarity

This commit is contained in:
Andrew S. Rightenburg 2024-05-06 21:19:16 +08:00
parent f65c59a414
commit 30e5cbb3db
Signed by: rail5
GPG Key ID: A0CB570AB6629159
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ function start_build_vm() {
function shutdown_build_vm() {
# Connect to it on SSH and send the shutdown command
echo "Shutting down VM..."
echo "Shutting down currently running VMs (if any)..."
sshpass -p $SSHPASSWORD ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -tt -p "$SSHPORT" $SSHUSER@127.0.0.1 >/dev/null 2>&1 <<<"sudo shutdown now >/dev/null 2>&1"
}