Ubuntu automation
-
When you’re trying to automate bootstrapping a Ubuntu server with
apt-get update;apt-get -y dist-upgrade
and it still stops to ask you questions…
https://postimg.cc/Z9TFskWk -
@Wayne-Workman Probably one of the configs were changed and the updater is asking what to do. The best I could find quickly is: https://serverfault.com/questions/259226/automatically-keep-current-version-of-config-files-when-apt-get-install/593640
Try:
apt-get update;DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes
What a monster of a command…