diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-01-01 23:57:03 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-01-01 23:57:03 +0100 |
commit | 0e2b6bc3bd1cd0cfcf00e22816c9723a22502e15 (patch) | |
tree | 86c7128927a543103324aa8202ebc5032de3ecd7 /roles/cloud/install/templates/hetzner_postinst.sh.j2 | |
parent | in-place variable cooking (diff) |
fix and slightly improve hetzner cloud installer
Diffstat (limited to 'roles/cloud/install/templates/hetzner_postinst.sh.j2')
-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 |