From 4556296244707d7ca949eeed400789d1b8edd972 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:58 -0400 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() {