core: clout-init 完成后输出到 tty0

This commit is contained in:
bin456789 2023-11-01 22:34:48 +08:00
parent 9be484fc54
commit 6751cc5281
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -22,4 +22,4 @@ runcmd:
- systemctl restart sshd
- touch /etc/cloud/cloud-init.disabled
# ubuntu 镜像运行 echo -e '\nDone' -e 会被显示出来
- printf '\n%s\n' 'done' >/dev/console
- printf '\n%s\n' 'done' >/dev/tty0 || true