From 58c4d6b82222b7b476d1c9beaa00151f8ce7abf4 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Mon, 30 Sep 2024 16:08:07 -0400 Subject: [PATCH] mostly changes related to moving home server --- fai/config/hooks/partition.DEFAULT | 13 ++++++------ wrt-setup | 3 ++- wrt-setup-local | 32 +++++++++++++++--------------- 3 files changed, 25 insertions(+), 23 deletions(-) diff --git a/fai/config/hooks/partition.DEFAULT b/fai/config/hooks/partition.DEFAULT index 47f103e..ec23344 100755 --- a/fai/config/hooks/partition.DEFAULT +++ b/fai/config/hooks/partition.DEFAULT @@ -366,22 +366,23 @@ EOF # /dev/mapper/crypt_dev_${big_disks[0]} /mnt/i btrfs nofail,$fstabstd,noatime,subvolid=0 0 0 # EOF # fi - if [[ $HOSTNAME == kd ]]; then - # note, having these with keyscript and initramfs causes a luks error in fai.log, - # but it is safely ignorable and gets us the ability to just type our password - # in once at boot. A downside is that they are probably needed to be plugged in to boot. - cat >>/tmp/fai/crypttab <>$target_etc/crypttab <> /tmp/fai/fstab <> $target_etc/fstab <