add kernel update to firstboot
This commit is contained in:
parent
9f9fb9bda7
commit
83e22bc66e
11
firstboot.sh
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user