From d0af376e8cc0ce2bca7845ae0432caaf4408b2f0 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 13 Dec 2021 16:05:48 -0500 Subject: [PATCH] Add wipe warning --- templates/install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/install.sh b/templates/install.sh index 0de6384..3b0cc7c 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -180,6 +180,14 @@ seed_config() { echo "Invalid disk or disk not found!" exit 1 fi + + echo + echo "WARNING! All data on block device ${target_disk} will be wiped!" + echo -n "Press any key within 15 seconds to cancel... " + if read -t 15; then + exit 0 + fi + echo } interactive_config() {