aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xnais2
1 files changed, 1 insertions, 1 deletions
diff --git a/nais b/nais
index ebbc3e4..f5cd301 100755
--- a/nais
+++ b/nais
@@ -98,7 +98,7 @@ install_arch() {
pacstrap -K /mnt base linux linux-firmware neovim neomutt wayland wayland-protocols wlroots xorg-xwayland git base-devel networkmanager btrfs-progs sudo grub efibootmgr
dd if=/dev/random of=/mnt/etc/.bootkey bs=1024 count=4
- echo "$PASSWORD" | cryptsetup luksAddKey --key-file - "$boot" /mnt/etc/.bootkey || exit
+ printf "%s\nYES\n" "$PASSWORD" | cryptsetup luksAddKey "$boot" /mnt/etc/.bootkey || exit
genfstab -U /mnt >> /mnt/etc/fstab || exit