console redirection parameters cannot be easily modified
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-sysconfig |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The charm sets the following GRUB_CMDLINE by default:
GRUB_CMDLINE_
If the motherboard is configured to redirect the output onto a different COM port, or if the operator prefers to have foreground messages over serial instead of VGA/iKVM, they have to override GRUB_CMDLINE_
This could be made more user-friendly by providing new config options. For example:
console-
default: ""
type: string
description: |
Console output can be redirected to a serial port.
Specify which one here, using either the ttyS<n>
device name or a COM port.
COM ports will be converted to tty device names
as follows: COM1 = ttyS0, COM2 = ttyS1, etc.
foreground-
default: "vga"
type: string
description: |
Output foreground messages on either vga or serial.
NOTE: "vga" includes iKVM virtual consoles found on
the BMC web UIs
Valid options: [vga|serial]
please see this bug (1887009) which is similar but not quite the same and consider them at the same time