diff options
fix: use ttyS0 kopt
-rw-r--r-- | static/misc/automated-alpine-setup | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/static/misc/automated-alpine-setup b/static/misc/automated-alpine-setup index 805ee19..943e17e 100644 --- a/static/misc/automated-alpine-setup +++ b/static/misc/automated-alpine-setup @@ -111,8 +111,11 @@ send "pass\n" set timeout 600 -expect "Installation is complete. Please reboot." -sleep 1 -set timeout 15 +expect "\n@@" +sleep 0.1 +send "sed -i 's/default_kernel_opts=\"/default_kernel_opts=\"console=ttyS0,9600 /' /etc/update-extlinux.conf\n" +expect "\n@@" +send "update-extlinux\n" +expect "\n@@" send "poweroff\n" expect eof |