remove purge left over from ubuntu installer, let dist-upgrade include grub if needed
This commit is contained in:
parent
6f74e350e2
commit
239dd082f3
10
install.sh
10
install.sh
|
@ -39,14 +39,8 @@ fi
|
||||||
|
|
||||||
# update system
|
# update system
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y update
|
DEBIAN_FRONTEND=noninteractive apt-get -y update
|
||||||
# update grub first, by itself, as it requires special overrides to run unattended
|
# special dpkg options needed for things like nointeractive grub updates
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install grub-common grub2-common
|
DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
|
|
||||||
|
|
||||||
# remove unwanted packages
|
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y purge snapd cryptsetup ufw iptables popularity-contest
|
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y autoremove
|
|
||||||
systemctl daemon-reload
|
|
||||||
|
|
||||||
# configure unattended upgrades with automatic reboots
|
# configure unattended upgrades with automatic reboots
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y install unattended-upgrades apt-listchanges
|
DEBIAN_FRONTEND=noninteractive apt-get -y install unattended-upgrades apt-listchanges
|
||||||
|
|
Loading…
Reference in New Issue
Block a user