mirror of
https://github.com/terem42/zfs-hetzner-vm.git
synced 2025-12-23 07:18:37 +00:00
revert kernel update
This commit is contained in:
@@ -392,9 +392,7 @@ function ask_hostname {
|
|||||||
|
|
||||||
function determine_kernel_variant {
|
function determine_kernel_variant {
|
||||||
if dmidecode | grep -q vServer; then
|
if dmidecode | grep -q vServer; then
|
||||||
v_kernel_variant="-virtual"
|
v_kernel_variant="-cloud"
|
||||||
else
|
|
||||||
v_kernel_variant="-generic"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -699,7 +697,7 @@ chroot_execute "rm -f /etc/localtime /etc/timezone"
|
|||||||
chroot_execute "dpkg-reconfigure tzdata -f noninteractive "
|
chroot_execute "dpkg-reconfigure tzdata -f noninteractive "
|
||||||
|
|
||||||
echo "======= installing latest kernel============="
|
echo "======= installing latest kernel============="
|
||||||
chroot_execute "apt install --yes -t buster-backports linux-image${v_kernel_variant} linux-headers${v_kernel_variant}"
|
chroot_execute "apt install --yes -t buster-backports linux-image${v_kernel_variant}-amd64 linux-headers${v_kernel_variant}-amd64"
|
||||||
|
|
||||||
echo "======= installing aux packages =========="
|
echo "======= installing aux packages =========="
|
||||||
chroot_execute "apt install --yes man wget curl software-properties-common nano htop gnupg"
|
chroot_execute "apt install --yes man wget curl software-properties-common nano htop gnupg"
|
||||||
|
|||||||
@@ -393,9 +393,7 @@ function ask_hostname {
|
|||||||
|
|
||||||
function determine_kernel_variant {
|
function determine_kernel_variant {
|
||||||
if dmidecode | grep -q vServer; then
|
if dmidecode | grep -q vServer; then
|
||||||
v_kernel_variant="-virtual"
|
v_kernel_variant="-cloud"
|
||||||
else
|
|
||||||
v_kernel_variant="-generic"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -700,7 +698,7 @@ chroot_execute "rm -f /etc/localtime /etc/timezone"
|
|||||||
chroot_execute "dpkg-reconfigure tzdata -f noninteractive "
|
chroot_execute "dpkg-reconfigure tzdata -f noninteractive "
|
||||||
|
|
||||||
echo "======= installing latest kernel============="
|
echo "======= installing latest kernel============="
|
||||||
chroot_execute "apt install --yes linux-image${v_kernel_variant} linux-headers${v_kernel_variant}"
|
chroot_execute "apt install --yes linux-image${v_kernel_variant}-amd64 linux-headers${v_kernel_variant}-amd64"
|
||||||
|
|
||||||
echo "======= installing aux packages =========="
|
echo "======= installing aux packages =========="
|
||||||
chroot_execute "apt install --yes man wget curl software-properties-common nano htop gnupg"
|
chroot_execute "apt install --yes man wget curl software-properties-common nano htop gnupg"
|
||||||
|
|||||||
Reference in New Issue
Block a user