Respond yes to confirmation to write partition tables

This commit is contained in:
Price Hiller 2021-11-25 05:08:00 -06:00
parent 0480e3ec5a
commit 9d794b66d6

View File

@ -257,7 +257,8 @@ install() {
echo echo
echo echo
echo 8300 echo 8300
echo w) | gdisk "${install_path}" > /dev/null echo w
echo Y) | gdisk "${install_path}" > /dev/null
log "info" "Wrote partitions" log "info" "Wrote partitions"
log "info" "Encrypting $(important "${install_disk}"), if you are prompted type $(important "YES")" log "info" "Encrypting $(important "${install_disk}"), if you are prompted type $(important "YES")"
cryptsetup -y -v luksFormat "${install_path}p2" || exit cryptsetup -y -v luksFormat "${install_path}p2" || exit