Skip to content

Commit

Permalink
fix cloudstack eval, remove formats-broken
Browse files Browse the repository at this point in the history
fixes the following eval error by defaulting to ext4.

error:
       Failed assertions:
       - Mountpoint '/': 'autoResize = true' is not supported for
       'fsType = "auto"'. fsType has to be explicitly set and
       only the following support it: ext3, ext4, btrfs, xfs.
  • Loading branch information
phaer authored and mergify[bot] committed Sep 2, 2024
1 parent b1d6447 commit 8e337ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions formats-broken/cloudstack.nix → formats/cloudstack.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8e337ce

Please sign in to comment.