-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Labels
Description
We'd like to be able to specify multiple output consoles for grub in our Kiwi builds, specifically console and serial.
Grub itself supports specifying multiple output terminals separated by spaces:
‘GRUB_TERMINAL_OUTPUT’
Select the terminal output device. You may select multiple devices here, separated by spaces.
(from https://www.gnu.org/software/grub/manual/grub/html_node/Simple-configuration.html)
In Kiwi, space separation has been "abused" to differentiate output and input consoles, so I guess the next best thing would be comma separated values:
<bootloader name="grub2" bls="true" console="console,serial console" timeout="5"/>
This could get kind of confusing, so it might be better to separate the consoles like this, but that would be a bigger change:
<bootloader name="grub2" bls="true" output_console="console serial" input_console="console" timeout="5"/>