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
1f5f4b3685
commit
dc18b4fae7
@ -142,6 +142,12 @@ EOF
|
||||
cat >/etc/cloud/cloud.cfg.d/93-proxmox.cfg <<EOF
|
||||
${files_proxmox_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!"
|
||||
|
||||
sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config
|
||||
|
Loading…
Reference in New Issue
Block a user