forked from mirrors/nixpkgs
NixOS AWS AMI: Configure Grub's serial console
See: * https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-os.html * https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/grub.html
This commit is contained in:
parent
bfd2f800ee
commit
54aa35d40e
|
@ -64,6 +64,11 @@ in
|
|||
boot.loader.grub.efiSupport = cfg.efi;
|
||||
boot.loader.grub.efiInstallAsRemovable = cfg.efi;
|
||||
boot.loader.timeout = 1;
|
||||
boot.loader.grub.extraConfig = ''
|
||||
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
|
||||
terminal_output console serial
|
||||
terminal_input console serial
|
||||
'';
|
||||
|
||||
boot.initrd.network.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue