Skip to content

Commit

Permalink
Merge pull request #57633 from talyz/master
Browse files Browse the repository at this point in the history
amazon-image.nix: Resolve failure to include resize2fs
  • Loading branch information
infinisil authored Mar 16, 2019
2 parents 54ce13e + 261372b commit 056b9d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions nixos/maintainers/scripts/ec2/amazon-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ in {
pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
partitionTableType = if config.ec2.hvm then "legacy" else "none";
diskSize = cfg.sizeMB;
fsType = "ext4";
configFile = pkgs.writeText "configuration.nix"
''
{
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/virtualisation/amazon-image.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ in

fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
autoResize = true;
};

Expand Down

0 comments on commit 056b9d0

Please sign in to comment.