diff --git a/cloud-init.yaml b/cloud-init.yaml index 6bb639b..0baa701 100644 --- a/cloud-init.yaml +++ b/cloud-init.yaml @@ -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