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 Oct 1, 2023
1 parent 9bc5080 commit 99a63e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hetzner-ubuntu22-zfs-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 99a63e2

Please sign in to comment.