From cf48fe816e7ced8047730e32d7c73c1c09848740 Mon Sep 17 00:00:00 2001 From: lub Date: Sun, 6 Aug 2023 17:44:18 +0200 Subject: [PATCH] install longhorn deps fixes #8 --- post-debootstrap-installer.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh index 0364d8b..960ee9a 100755 --- a/post-debootstrap-installer.sh +++ b/post-debootstrap-installer.sh @@ -57,10 +57,15 @@ sed -i "s/%boot_uuid%/${boot_uuid}/" /etc/fstab sed -i "s/%disk1_uuid%/${disk1_uuid}/" /etc/fstab sed -i "s/%disk2_uuid%/${disk2_uuid}/" /etc/fstab +# install longhorn dependencies +apt-get -y install open-iscsi nfs-common +systemctl disable rpcbind.service # rpcbind is not used with NFS v4 + # after cryptsetup, mdadm, ... because of update-initramfs apt-get -y install linux-image-amd64 + ### networking apt-get -y install iproute2