From b3f1a8624ff31467d8e0de0101bb6cf35b0cbf03 Mon Sep 17 00:00:00 2001 From: terem42 <9478806+terem42@users.noreply.github.com> Date: Sat, 30 Sep 2023 22:58:50 +0200 Subject: [PATCH] Update hetzner-ubuntu22-zfs-setup.sh --- hetzner-ubuntu22-zfs-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hetzner-ubuntu22-zfs-setup.sh b/hetzner-ubuntu22-zfs-setup.sh index 29befa4..24b2cf9 100644 --- a/hetzner-ubuntu22-zfs-setup.sh +++ b/hetzner-ubuntu22-zfs-setup.sh @@ -674,6 +674,8 @@ chroot_execute "setupcon" chroot_execute "rm -f /etc/localtime /etc/timezone" chroot_execute "dpkg-reconfigure tzdata -f noninteractive " +chroot_execute "mkdir /tmp/hwc" + echo "======= installing latest kernel=============" chroot_execute "DEBIAN_FRONTEND=noninteractive apt install --yes linux-headers${v_kernel_variant} linux-image${v_kernel_variant}" if [[ $v_kernel_variant == "-virtual" ]]; then @@ -727,7 +729,6 @@ chroot_execute "echo options zfs zfs_arc_max=$((v_zfs_arc_max_mb * 1024 * 1024)) echo "======= setting up grub ==========" chroot_execute "echo 'grub-pc grub-pc/install_devices_empty boolean true' | debconf-set-selections" -chroot_execute "mkdir /tmp/hwc" chroot_execute "DEBIAN_FRONTEND=noninteractive apt install --yes grub-pc" chroot_execute "grub-install ${v_selected_disks[0]}"