From 6521aad4897d98b8003e7019c226c117d3874a68 Mon Sep 17 00:00:00 2001 From: terem42 <9478806+terem42@users.noreply.github.com> Date: Wed, 15 Sep 2021 09:03:40 +0200 Subject: [PATCH] Update hetzner-debian11-zfs-setup.sh --- hetzner-debian11-zfs-setup.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/hetzner-debian11-zfs-setup.sh b/hetzner-debian11-zfs-setup.sh index 38b3e43..f974f06 100644 --- a/hetzner-debian11-zfs-setup.sh +++ b/hetzner-debian11-zfs-setup.sh @@ -765,7 +765,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 "DEBIAN_FRONTEND=noninteractive apt install --yes grub-legacy" chroot_execute "DEBIAN_FRONTEND=noninteractive apt install --yes grub-pc" chroot_execute "grub-install --recheck ${v_selected_disks[0]}" @@ -802,18 +801,6 @@ if [[ $v_encrypt_rpool == "1" ]]; then rm -rf "$c_zfs_mount_dir/etc/dropbear-initramfs/dropbear_dss_host_key" fi -#cd "$c_zfs_mount_dir/root" -#wget http://ftp.de.debian.org/debian/pool/main/libt/libtommath/libtommath1_1.1.0-3_amd64.deb -#wget http://ftp.de.debian.org/debian/pool/main/d/dropbear/dropbear-bin_2018.76-5_amd64.deb -#wget http://ftp.de.debian.org/debian/pool/main/d/dropbear/dropbear-initramfs_2018.76-5_all.deb - -#chroot_execute "dpkg -i /root/libtommath1_1.1.0-3_amd64.deb" -#chroot_execute "dpkg -i /root/dropbear-bin_2018.76-5_amd64.deb" -#chroot_execute "dpkg -i /root/dropbear-initramfs_2018.76-5_all.deb" - -#rm $c_zfs_mount_dir/root/*.deb -#cd /root - echo "============setup root prompt============" cat > "$c_zfs_mount_dir/root/.bashrc" <