vbox guests need name
This commit is contained in:
parent
d1d6395fc4
commit
a4f86d2d61
|
@ -96,24 +96,27 @@ in {
|
|||
}.${cfg.bootFormat};
|
||||
|
||||
in {
|
||||
inherit name;
|
||||
value = {
|
||||
|
||||
inherit (cfg) routeToNics;
|
||||
inherit (cfg) routeToNics;
|
||||
|
||||
inputs = with pkgs.genodePackages; [ libiconv vbox5 vfs_pipe ];
|
||||
inputs = with pkgs.genodePackages; [ libiconv vbox5 vfs_pipe ];
|
||||
|
||||
coreROMs = [ "platform_info" ];
|
||||
coreROMs = [ "platform_info" ];
|
||||
|
||||
configFile = pkgs.writeText "${name}.vbox.dhall" ''
|
||||
${./vbox-guest.dhall}
|
||||
{ bootFilename = "${boot.filename}"
|
||||
, bootFormat = "${boot.format}"
|
||||
, bootPkg = "${boot.storeRoot}"
|
||||
, bootUuid = ${boot.uuid}
|
||||
, memorySize = ${toString cfg.memorySize}
|
||||
, nicLabels = ${builtins.toJSON cfg.routeToNics} : List Text
|
||||
, vmName = "${vmName}"
|
||||
}
|
||||
'';
|
||||
configFile = pkgs.writeText "${name}.vbox.dhall" ''
|
||||
${./vbox-guest.dhall}
|
||||
{ bootFilename = "${boot.filename}"
|
||||
, bootFormat = "${boot.format}"
|
||||
, bootPkg = "${boot.storeRoot}"
|
||||
, bootUuid = ${boot.uuid}
|
||||
, memorySize = ${toString cfg.memorySize}
|
||||
, nicLabels = ${builtins.toJSON cfg.routeToNics} : List Text
|
||||
, vmName = "${vmName}"
|
||||
}
|
||||
'';
|
||||
};
|
||||
}) config.genode.vbox.guests;
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user