liveboot: prevent display 'Please remove the installation medium'

Adding 'noprompt' won't wait till user press an enter key with the
message 'Please remove the installation medium: press Enter'.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I4d4d8987d40b62057bcea11804d26c25ca11146f
This commit is contained in:
Dongjin Kim
2022-07-20 14:57:27 +09:00
parent ab3e41ad2d
commit 50a5036dc9

View File

@@ -27,7 +27,7 @@ if [ "x@@LIVESYSTEM@@" = "xtrue" ]; then
if [ -f /etc/default/flash-kernel ]; then
. /etc/default/flash-kernel
sed -i "s/^LINUX_KERNEL_CMDLINE=.*/LINUX_KERNEL_CMDLINE=\"$LINUX_KERNEL_CMDLINE boot=casper toram\"/g" \
sed -i "s/^LINUX_KERNEL_CMDLINE=.*/LINUX_KERNEL_CMDLINE=\"$LINUX_KERNEL_CMDLINE boot=casper toram noprompt\"/g" \
/etc/default/flash-kernel
fi
fi