diff --git a/README.md b/README.md index 5acef17..2c36cdf 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ format | description --- | --- amazon | Amazon EC2 image azure | Microsoft azure image (Generation 1 / VHD) -~~cloudstack~~ | qcow2 image for cloudstack. This module is broken, PRs welcome. +cloudstack | qcow2 image for cloudstack. do | Digital Ocean image docker | Docker image (uses systemd to run, probably only works in podman) gce | Google Compute image diff --git a/formats-broken/cloudstack.nix b/formats/cloudstack.nix similarity index 91% rename from formats-broken/cloudstack.nix rename to formats/cloudstack.nix index e25a74d..ac1aad2 100644 --- a/formats-broken/cloudstack.nix +++ b/formats/cloudstack.nix @@ -9,6 +9,8 @@ "${toString modulesPath}/virtualisation/cloudstack-config.nix" ]; + fileSystems."/".fsType = lib.mkDefault "ext4"; + system.build.cloudstackImage = import "${toString modulesPath}/../lib/make-disk-image.nix" { inherit lib config pkgs; diskSize = 8192;