From 6751cc5281c01c7637b6d25a65d15182f9461ed7 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Wed, 1 Nov 2023 22:34:48 +0800 Subject: [PATCH] =?UTF-8?q?core:=20clout-init=20=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E5=90=8E=E8=BE=93=E5=87=BA=E5=88=B0=20tty0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cloud-init.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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