Merge pull request #2189 from crawford/ec2

coreos-base/oem-ec2-compat: use ttyS0 for console
This commit is contained in:
Alex Crawford 2016-09-14 16:32:45 -07:00 committed by GitHub
commit 18ca50e0cc
2 changed files with 7 additions and 0 deletions

View File

@ -5,3 +5,10 @@ set oem_id="ec2"
# Blacklist the Xen framebuffer module so it doesn't get loaded at boot
# Disable `ens3` style names, so eth0 is used for both ixgbevf or xen.
set linux_append="modprobe.blacklist=xen_fbfront net.ifnames=0"
if [ "$grub_platform" = pc ]; then
set linux_console="console=ttyS0,115200n8"
serial com0 --speed=115200 --word=8 --parity=no
terminal_input serial_com0
terminal_output serial_com0
fi