mirror of
https://github.com/terem42/zfs-hetzner-vm.git
synced 2025-12-22 23:08:36 +00:00
dkms: force rebuild terem42/zfs-hetzner-vm#28
This commit is contained in:
@@ -718,6 +718,12 @@ if [[ $v_zfs_experimental == "1" ]]; then
|
||||
else
|
||||
chroot_execute "apt install --yes -t buster-backports zfs-initramfs zfs-dkms zfsutils-linux"
|
||||
fi
|
||||
chroot_execute 'cat << DKMS > /etc/dkms/zfs.conf
|
||||
# override for /usr/src/zfs-*/dkms.conf:
|
||||
# always rebuild initrd when zfs module has been changed
|
||||
# (either by a ZFS update or a new kernel version)
|
||||
REMAKE_INITRD='yes'
|
||||
DKMS'
|
||||
|
||||
echo "======= installing OpenSSH and network tooling =========="
|
||||
chroot_execute "apt install --yes openssh-server net-tools"
|
||||
|
||||
@@ -719,6 +719,12 @@ if [[ $v_zfs_experimental == "1" ]]; then
|
||||
else
|
||||
chroot_execute "apt install --yes zfs-initramfs zfs-dkms zfsutils-linux"
|
||||
fi
|
||||
chroot_execute 'cat << DKMS > /etc/dkms/zfs.conf
|
||||
# override for /usr/src/zfs-*/dkms.conf:
|
||||
# always rebuild initrd when zfs module has been changed
|
||||
# (either by a ZFS update or a new kernel version)
|
||||
REMAKE_INITRD='yes'
|
||||
DKMS'
|
||||
|
||||
echo "======= installing OpenSSH and network tooling =========="
|
||||
chroot_execute "apt install --yes openssh-server net-tools"
|
||||
|
||||
@@ -701,6 +701,12 @@ else
|
||||
chroot_execute "add-apt-repository --yes ppa:jonathonf/zfs"
|
||||
chroot_execute "apt install --yes zfs-initramfs zfs-dkms zfsutils-linux"
|
||||
fi
|
||||
chroot_execute 'cat << DKMS > /etc/dkms/zfs.conf
|
||||
# override for /usr/src/zfs-*/dkms.conf:
|
||||
# always rebuild initrd when zfs module has been changed
|
||||
# (either by a ZFS update or a new kernel version)
|
||||
REMAKE_INITRD='yes'
|
||||
DKMS'
|
||||
|
||||
echo "======= installing OpenSSH and network tooling =========="
|
||||
chroot_execute "apt install --yes openssh-server net-tools"
|
||||
|
||||
@@ -702,6 +702,12 @@ else
|
||||
chroot_execute "add-apt-repository --yes ppa:jonathonf/zfs"
|
||||
chroot_execute "apt install --yes zfs-initramfs zfs-dkms zfsutils-linux"
|
||||
fi
|
||||
chroot_execute 'cat << DKMS > /etc/dkms/zfs.conf
|
||||
# override for /usr/src/zfs-*/dkms.conf:
|
||||
# always rebuild initrd when zfs module has been changed
|
||||
# (either by a ZFS update or a new kernel version)
|
||||
REMAKE_INITRD='yes'
|
||||
DKMS'
|
||||
|
||||
echo "======= installing OpenSSH and network tooling =========="
|
||||
chroot_execute "apt install --yes openssh-server net-tools"
|
||||
|
||||
Reference in New Issue
Block a user