coreos-base/oem-packet: Use i386 serial settings for x86_64 to fix m3

The m3.small.x86 instance type had no serial console output because
ttyS0 was used because the GRUB CPU check didn't trigger. It seems that
most instances had i386 reported but this new one not (maybe EFI is
used here?).
Extend the GRUB check to cover both i386 and x86_64 when setting up the
serial console. For arm64 this still shouldn't be needed and the
defaults worked so far.
This commit is contained in:
Kai Lueke 2022-08-30 17:05:07 +02:00
parent 11e3f9fa72
commit 65dd84b4d1
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
- Equinix Metal: Fixed serial console settings for the `m3.small.x86` instance by expanding the GRUB check for `i386` to `x86_64` [coreos-overlay#2122](https://github.com/flatcar-linux/coreos-overlay/pull/2122)

View File

@ -3,7 +3,7 @@
set oem_id="packet"
set linux_append="flatcar.autologin"
if [ "$grub_cpu" = i386 ]; then
if [ "$grub_cpu" = i386 ] || [ "$grub_cpu" = x86_64 ]; then
set gfxpayload="1024x768x8,1024x768"
set linux_console="console=tty0 console=ttyS1,115200n8"
fi