diff options
Diffstat (limited to 'roles/cloud/install/templates')
-rw-r--r-- | roles/cloud/install/templates/hetzner_postinst.sh.j2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/cloud/install/templates/hetzner_postinst.sh.j2 b/roles/cloud/install/templates/hetzner_postinst.sh.j2 index ba9d3eeb..329469be 100644 --- a/roles/cloud/install/templates/hetzner_postinst.sh.j2 +++ b/roles/cloud/install/templates/hetzner_postinst.sh.j2 @@ -5,6 +5,8 @@ OS_DISTRO=$(. /etc/os-release; echo $ID) OS_MAJOR_VERSION=$(. /etc/os-release; echo $VERSION_ID | cut -d . -f 1) export DEBIAN_FRONTEND=noninteractive +export SUDO_FORCE_REMOVE=yes +dpkg --purge sudo apt-get update -q apt-get full-upgrade -y -q |