grub: Update extraConfig example text (#79406)
This expands the example to something one might actually want to use to set up a serial console.
This commit is contained in:
parent
1e613230d2
commit
4c5ea02dc5
@ -224,7 +224,11 @@ in
|
|||||||
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
default = "";
|
default = "";
|
||||||
example = "serial; terminal_output.serial";
|
example = ''
|
||||||
|
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
|
||||||
|
terminal_input --append serial
|
||||||
|
terminal_output --append serial
|
||||||
|
'';
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
description = ''
|
description = ''
|
||||||
Additional GRUB commands inserted in the configuration file
|
Additional GRUB commands inserted in the configuration file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user