Skip to content

Commit

Permalink
azure-image: set font & splashImage to null to force text mode, so co…
Browse files Browse the repository at this point in the history
…nsole for Gen 2 VM could work
  • Loading branch information
codgician committed Nov 27, 2024
1 parent 3ede656 commit b5ef96b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixos/modules/virtualisation/azure-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ in
efiSupport = (cfg.vmGeneration == "v2");
device = if efiSupport then "nodev" else "/dev/sda";
efiInstallAsRemovable = efiSupport;
extraConfig = ''
font = null;
splashImage = null;
extraConfig = lib.mkIf (!efiSupport) ''
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal_input --append serial
terminal_output --append serial
Expand Down

0 comments on commit b5ef96b

Please sign in to comment.