mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
azure-image: set font & splashImage to null to force text mode, so console for Gen 2 VM could work
This commit is contained in:
parent
6b9a77767a
commit
0a0f6543ad
1 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,9 @@ in
|
||||||
efiSupport = (cfg.vmGeneration == "v2");
|
efiSupport = (cfg.vmGeneration == "v2");
|
||||||
device = if efiSupport then "nodev" else "/dev/sda";
|
device = if efiSupport then "nodev" else "/dev/sda";
|
||||||
efiInstallAsRemovable = efiSupport;
|
efiInstallAsRemovable = efiSupport;
|
||||||
extraConfig = ''
|
font = null;
|
||||||
|
splashImage = null;
|
||||||
|
extraConfig = lib.mkIf (!efiSupport) ''
|
||||||
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
|
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
|
||||||
terminal_input --append serial
|
terminal_input --append serial
|
||||||
terminal_output --append serial
|
terminal_output --append serial
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue