Skip to content

Commit

Permalink
Enable serial console in default grub
Browse files Browse the repository at this point in the history
serial console allows user to easy access
to ipfire image instance in KVM/Libvirt
environment by virt console <ipfire instance>

Signed-off-by: Vincent Li <[email protected]>
  • Loading branch information
vincentmli committed Mar 1, 2024
1 parent 6d501c0 commit 7773f82
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/grub2/default
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_CMDLINE_LINUX="rd.auto panic=10"
GRUB_CMDLINE_LINUX="rd.auto panic=10 console=tty0 console=ttyS0,115200n8"
GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop==1"
GRUB_DISABLE_RECOVERY="true"
GRUB_BACKGROUND="/boot/grub/splash.png"

0 comments on commit 7773f82

Please sign in to comment.