From 4870a82e5e3602c545031938d9db37a2752802a7 Mon Sep 17 00:00:00 2001 From: Stephen Lowrie Date: Wed, 19 Sep 2018 12:31:12 -0500 Subject: [PATCH] coreos/base/oem-ec2-compat: set linux_console to serial on openstack In current builds of the OpenStack format we are not setting the linux_console to the serial console. As a byproduct of coreos/bugs#2136 this means that currently Ignition logs are not retrievable from the OpenStack console history API. --- coreos-base/oem-ec2-compat/files/grub-openstack.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/coreos-base/oem-ec2-compat/files/grub-openstack.cfg b/coreos-base/oem-ec2-compat/files/grub-openstack.cfg index fbf50a002d..8e730950ff 100644 --- a/coreos-base/oem-ec2-compat/files/grub-openstack.cfg +++ b/coreos-base/oem-ec2-compat/files/grub-openstack.cfg @@ -1,3 +1,10 @@ # CoreOS GRUB settings for EC2 set oem_id="openstack" + +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