From debd8f6ea8b909dd5ed2e4818e6e2b9afcba6229 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 25 Mar 2023 14:28:42 +0100 Subject: fix cryptsetup add boot key --- nais | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nais b/nais index e61b3ca..96947c8 100755 --- a/nais +++ b/nais @@ -81,7 +81,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 dd if=/dev/random of=/mnt/etc/.bootkey bs=1024 count=4 - echo "$PASSWORD" | cryptsetup luksAddKey --key-file - /mnt/etc/.bootkey + echo "$PASSWORD" | cryptsetup luksAddKey --key-file - /dev/mapper/boot /mnt/etc/.bootkey genfstab -U /mnt >> /mnt/etc/fstab -- cgit v1.2.3-70-g09d2