From 99a63e2892aa65ec8017194e59cd67e34d4e549c Mon Sep 17 00:00:00 2001 From: terem42 <9478806+terem42@users.noreply.github.com> Date: Sun, 1 Oct 2023 18:19:29 +0200 Subject: [PATCH] Update hetzner-ubuntu22-zfs-setup.sh --- hetzner-ubuntu22-zfs-setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hetzner-ubuntu22-zfs-setup.sh b/hetzner-ubuntu22-zfs-setup.sh index 24b2cf9..8733464 100644 --- a/hetzner-ubuntu22-zfs-setup.sh +++ b/hetzner-ubuntu22-zfs-setup.sh @@ -560,6 +560,7 @@ if [[ $v_swap_size -gt 0 ]]; then fi echo "======= setting up initial system packages ==========" +export TMPDIR=/tmp debootstrap --arch=amd64 jammy "$c_zfs_mount_dir" "$c_deb_packages_repo" zfs set devices=off "$v_rpool_name" @@ -674,8 +675,6 @@ 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