Update hetzner-ubuntu22-zfs-setup.sh

This commit is contained in:
terem42
2023-09-30 22:25:23 +02:00
committed by GitHub
parent 9fcedceb52
commit 5dc4fe0ed0

View File

@@ -727,6 +727,7 @@ chroot_execute "echo options zfs zfs_arc_max=$((v_zfs_arc_max_mb * 1024 * 1024))
echo "======= setting up grub ==========" echo "======= setting up grub =========="
chroot_execute "echo 'grub-pc grub-pc/install_devices_empty boolean true' | debconf-set-selections" 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 "DEBIAN_FRONTEND=noninteractive apt install --yes grub-pc"
chroot_execute "grub-install ${v_selected_disks[0]}" chroot_execute "grub-install ${v_selected_disks[0]}"