We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6c3636 commit 9fbb177Copy full SHA for 9fbb177
packer/alpine/11-update-boot.sh
@@ -16,6 +16,7 @@ if [ "$(arch)" = "x86_64" ]; then
16
17
gawk -i inplace -f- /etc/update-extlinux.conf <<'EOF'
18
/^default_kernel_opts=/ { gsub(/console=ttyS[^ "]*/, "") }
19
+/^default_kernel_opts=/ { gsub(/console=ttyAMA[^ "]*/, "console=tty0") }
20
{ print }
21
EOF
22
fi
packer/alpine/98-collect-garbage.sh
@@ -8,6 +8,11 @@ set -eux -o pipefail
8
apk del cloud-init
9
find /etc/runlevels/ -name 'cloud-init*' -delete
10
11
+# chrony sometimes takes too long to start also delaying sshd
12
+service chronyd stop
13
+apk del chrony
14
+userdel chrony
15
+
rm -f /etc/motd
rm -rf /var/cache/apk/*
0 commit comments