Fix sudo installation on scaleway

This commit is contained in:
Johannes Zellner
2019-06-11 13:30:15 +02:00
parent 7e9885012d
commit 9d237e7bd6
+3 -1
View File
@@ -46,13 +46,15 @@ apt-get -y install \
openssh-server \
pwgen \
resolvconf \
sudo \
swaks \
tzdata \
unattended-upgrades \
unbound \
xfsprogs
# on some providers like scaleway the sudo file is changed and we want to keep the old one
apt-get -o Dpkg::Options::="--force-confold" install -y sudo
# this ensures that unattended upgades are enabled, if it was disabled during ubuntu install time (see #346)
# debconf-set-selection of unattended-upgrades/enable_auto_updates + dpkg-reconfigure does not work
cp /usr/share/unattended-upgrades/20auto-upgrades /etc/apt/apt.conf.d/20auto-upgrades