mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
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:
parent
11e3f9fa72
commit
65dd84b4d1
@ -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)
|
@ -3,7 +3,7 @@
|
|||||||
set oem_id="packet"
|
set oem_id="packet"
|
||||||
set linux_append="flatcar.autologin"
|
set linux_append="flatcar.autologin"
|
||||||
|
|
||||||
if [ "$grub_cpu" = i386 ]; then
|
if [ "$grub_cpu" = i386 ] || [ "$grub_cpu" = x86_64 ]; then
|
||||||
set gfxpayload="1024x768x8,1024x768"
|
set gfxpayload="1024x768x8,1024x768"
|
||||||
set linux_console="console=tty0 console=ttyS1,115200n8"
|
set linux_console="console=tty0 console=ttyS1,115200n8"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user