diff --git a/firstboot.sh b/firstboot.sh index 6063e13..0841cf8 100644 --- a/firstboot.sh +++ b/firstboot.sh @@ -44,10 +44,6 @@ doasuser 'gsettings set org.gnome.desktop.wm.preferences button-layout "appbar:m echo "Cleaning up." rm chrome.deb zoom.deb gnome-shell-extension-installer -echo "Running update." -apt update -apt upgrade -y - echo "Adding user for ansible" #add user for ansible remote updates @@ -63,5 +59,12 @@ read NEWHOSTNAME echo $NEWHOSTNAME > /etc/hostname sed -i "s/$OLDHOSTNAME/$NEWHOSTNAME/g" /etc/hosts +#updating to backports kernel +echo "deb http://deb.debian.org/debian buster-backports main" | tee -a /etc/apt/sources.list + +echo "Updating to backports kernel." +apt update +apt -t buster-backports upgrade -y + echo "Rebooting..." systemctl reboot