fix: lets tty1 wait for cloud-init to finish
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6ab4b71282
commit
15d971d909
@ -146,6 +146,12 @@ EOF
|
|||||||
cat >/etc/cloud/cloud.cfg.d/93-hetznercloud.cfg <<EOF
|
cat >/etc/cloud/cloud.cfg.d/93-hetznercloud.cfg <<EOF
|
||||||
${files_hetznercloud_init}
|
${files_hetznercloud_init}
|
||||||
EOF
|
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!"
|
echo "Completed cloud-init step!"
|
||||||
|
|
||||||
cat >/usr/local/bin/hcloud-metadata <<\EOF
|
cat >/usr/local/bin/hcloud-metadata <<\EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user