[grub]: allow access from both console and serial (#4444)

console means the vga port. this is mainly used for virtual environment such as hyper-v or virtualbox where you have the virtual vga port to display the boot up process.

Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
lguohan 2020-04-19 18:46:30 -07:00 committed by GitHub
parent 583bfde439
commit 87f2dbd75f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -545,8 +545,8 @@ export GRUB_CMDLINE_LINUX
# Add common configuration, like the timeout and serial console.
cat <<EOF > $grub_cfg
$GRUB_SERIAL_COMMAND
terminal_input serial
terminal_output serial
terminal_input console serial
terminal_output console serial
set timeout=5