diff --git a/install.sh b/install.sh index 02ead4e..af52601 100644 --- a/install.sh +++ b/install.sh @@ -39,14 +39,8 @@ fi # update system DEBIAN_FRONTEND=noninteractive apt-get -y update -# update grub first, by itself, as it requires special overrides to run unattended -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 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 +# 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" dist-upgrade # configure unattended upgrades with automatic reboots DEBIAN_FRONTEND=noninteractive apt-get -y install unattended-upgrades apt-listchanges