From 9d794b66d698c8fd93ceb8be6dc13a004c76c611 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 25 Nov 2021 05:08:00 -0600 Subject: [PATCH] Respond yes to confirmation to write partition tables --- Misc/Arch-LuksCrpy-Install.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Misc/Arch-LuksCrpy-Install.bash b/Misc/Arch-LuksCrpy-Install.bash index f54bdf8..6cd0d11 100755 --- a/Misc/Arch-LuksCrpy-Install.bash +++ b/Misc/Arch-LuksCrpy-Install.bash @@ -257,7 +257,8 @@ install() { echo echo echo 8300 - echo w) | gdisk "${install_path}" > /dev/null + echo w + echo Y) | gdisk "${install_path}" > /dev/null log "info" "Wrote partitions" log "info" "Encrypting $(important "${install_disk}"), if you are prompted type $(important "YES")" cryptsetup -y -v luksFormat "${install_path}p2" || exit