From 90eef37f6e25c47924f7ecc504817aa08480adaf Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 15 Nov 2018 02:56:59 -0500 Subject: better disk configuration --- bin/helpers/launch-partofme | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/helpers/launch-partofme b/bin/helpers/launch-partofme index 4459df1..4adb695 100755 --- a/bin/helpers/launch-partofme +++ b/bin/helpers/launch-partofme @@ -17,8 +17,10 @@ copy() { scp -r $ssh_opts "$1" root@"$host":"$2" } +# configure the mdadm arrays +run "echo 'ARRAY /dev/md2 metadata=0.90 UUID=6bf2e365:10a7910f:52419904:51489ef3' >> /etc/mdadm.conf" # detect the persistent disks properly on boot -run "sed -i 's/^HOOKS=(base udev /&mdadm encrypt lvm2 /' /etc/mkinitcpio.conf" +run "sed -i 's/^HOOKS=(base udev.*block /&mdadm encrypt lvm2 /' /etc/mkinitcpio.conf" # ensure we have the latest linux version, otherwise wireguard will fail to # build and install the correct kernel modules run "pacman -Syu --noconfirm" -- cgit v1.2.3-54-g00ecf