From eb98d112d59e1568379dbcae35ea1d5331a4ba48 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sat, 25 Mar 2023 15:57:15 +0100 Subject: change boot addkeyfile command --- nais | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nais b/nais index 9f8be2c..fd62b0c 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 dd if=/dev/random of=/mnt/etc/.bootkey bs=1024 count=4 - echo "$PASSWORD" | cryptsetup luksAddKey --key-file - /dev/mapper/boot /mnt/etc/.bootkey || exit + echo "$PASSWORD" | cryptsetup luksAddKey --key-file - "$boot" /mnt/etc/.bootkey || exit genfstab -U /mnt >> /mnt/etc/fstab || exit -- cgit v1.2.3-70-g09d2