summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/cloud-install/templates/hetzner_postinst.sh.j27
1 files changed, 4 insertions, 3 deletions
diff --git a/roles/cloud-install/templates/hetzner_postinst.sh.j2 b/roles/cloud-install/templates/hetzner_postinst.sh.j2
index 3aa33c76..3ee5a390 100644
--- a/roles/cloud-install/templates/hetzner_postinst.sh.j2
+++ b/roles/cloud-install/templates/hetzner_postinst.sh.j2
@@ -1,9 +1,10 @@
#!/bin/bash
set -euf -o pipefail
-apt-get update
-apt-get full-upgrade -y
-apt-get install -y --no-install-recommends openssh-server python
+export DEBIAN_FRONTEND=noninteractive
+apt-get update -q
+apt-get full-upgrade -y -q
+apt-get install -y -q --no-install-recommends openssh-server python
passwd -d root && passwd -l root
{% if install_distro == "debian" %}