summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xstopall.sh2
-rw-r--r--templates/email-notify.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/stopall.sh b/stopall.sh
index 7edecdd..bfe52f4 100755
--- a/stopall.sh
+++ b/stopall.sh
@@ -23,7 +23,7 @@ for i in $(vmctl show | sort | awk '/ running / {print $9}' | xargs); do
COUNTER=$((${COUNTER}+1))
done
-echo -n "Are you sure? Press any key to continue... "
+echo -n "Are you sure you want to power off ${COUNTER} vms? Press any key to continue... "
read input
echo -n "Are you really sure? Press any key to continue... "
read input
diff --git a/templates/email-notify.txt b/templates/email-notify.txt
index 740449a..e5aa4fa 100644
--- a/templates/email-notify.txt
+++ b/templates/email-notify.txt
@@ -1,4 +1,5 @@
From: admin
+Bcc: mischa@high5.nl
Subject: OpenBSD Amsterdam - maintenance
Content-Type: text/plain; charset=utf-8
@@ -7,7 +8,7 @@ Hi NAME,
You have a VM (VMID) running on SERVER.
We will sysupgrade SERVER from OpenBSD 6.8 to OpenBSD 6.9.
-This will happen on 2021-xx-xx @ TIME(11:30,16:00).
+This will happen on 2021-xx-xx @ TIME(11:30,16:00) UTC.
Mischa