ensuring the system is in a consistent state for release

This commit is contained in:
rootzoll 2024-07-22 17:43:55 +02:00
parent 4d4385a840
commit d9b091be1a

View file

@ -66,10 +66,12 @@ echo -e "nameserver 1.1.1.1\nnameserver 84.200.69.80" | sudo tee /etc/resolv.con
echo "OK" echo "OK"
# update system (only security updates with minimal risk of breaking changes) # update system (only security updates with minimal risk of breaking changes)
echo
echo "update OS ..." echo "update OS ..."
sudo apt-get update -y sudo apt-get update -y
sudo apt-get upgrade -o Dir::Etc::SourceList=/etc/apt/sources.list.d/security.list -y sudo apt-get upgrade -o Dir::Etc::SourceList=/etc/apt/sources.list.d/security.list -y
sudo apt-get upgrade openssh-server -y sudo apt-get upgrade openssh-server -y
sudo dpkg --configure -a
# SSH Pubkeys (make unique for every sd card image install) # SSH Pubkeys (make unique for every sd card image install)
echo echo