fix: lets tty1 wait for cloud-init to finish
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-09-09 11:06:26 +02:00
parent 6ab4b71282
commit 15d971d909
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -146,6 +146,12 @@ EOF
cat >/etc/cloud/cloud.cfg.d/93-hetznercloud.cfg <<EOF
${files_hetznercloud_init}
EOF
mkdir -p /etc/systemd/system/getty@tty1.service.d
cat >/etc/systemd/system/getty@tty1.service.d/override.conf <<EOF
[Unit]
After=cloud-init.target
EOF
echo "Completed cloud-init step!"
cat >/usr/local/bin/hcloud-metadata <<\EOF