Skip to content

Commit

Permalink
Remove aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored and astro committed Oct 2, 2024
1 parent 04f643d commit d94e5fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/runners/cloud-hypervisor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
}:

let
inherit (pkgs) lib system;
inherit (pkgs) lib;
inherit (microvmConfig) vcpu mem balloonMem user interfaces volumes shares socket devices hugepageMem graphics storeDisk storeOnDisk kernel initrdPath;
inherit (microvmConfig.cloud-hypervisor) extraArgs;

kernelPath = {
x86_64-linux = "${kernel.dev}/vmlinux";
aarch64-linux = "${kernel.out}/${pkgs.stdenv.hostPlatform.linux-kernel.target}";
}.${pkgs.system};
}.${pkgs.stdenv.system};

kernelConsole =
if system == "x86_64-linux"
if pkgs.stdenv.system == "x86_64-linux"
then "earlyprintk=ttyS0 console=ttyS0"
else if system == "aarch64-linux"
else if pkgs.stdenv.system == "aarch64-linux"
then "console=ttyAMA0"
else "";

Expand Down

0 comments on commit d94e5fe

Please sign in to comment.