Respond yes to confirmation to write partition tables
This commit is contained in:
parent
0480e3ec5a
commit
9d794b66d6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user