mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
cloudstack: add to image/images
This was an oversight in https://github.com/NixOS/nixpkgs/pull/347275, so it's currently missing from the variants listed in nixos-rebuild build-image
This commit is contained in:
parent
e0afcb011b
commit
d7e76ed0a2
3 changed files with 13 additions and 2 deletions
|
@ -8,10 +8,19 @@
|
|||
}:
|
||||
|
||||
{
|
||||
imports = [ ../../../modules/virtualisation/cloudstack-config.nix ];
|
||||
imports = [
|
||||
|
||||
../../../modules/virtualisation/cloudstack-config.nix
|
||||
../../../modules/image/file-options.nix
|
||||
];
|
||||
|
||||
system.nixos.tags = [ "cloudstack" ];
|
||||
image.extension = "qcow2";
|
||||
system.build.image = config.system.build.cloudstackImage;
|
||||
system.build.cloudstackImage = import ../../../lib/make-disk-image.nix {
|
||||
inherit lib config pkgs;
|
||||
inherit (config.virtualisation) diskSize;
|
||||
baseName = config.image.baseName;
|
||||
format = "qcow2";
|
||||
configFile = pkgs.writeText "configuration.nix" ''
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue