Skip to content

Commit

Permalink
Update hetzner-ubuntu22-zfs-setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
terem42 authored Sep 30, 2023
1 parent 5dc4fe0 commit b3f1a86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hetzner-ubuntu22-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]}"

Expand Down

0 comments on commit b3f1a86

Please sign in to comment.