diff options
author | talyz <kim.lindberger@gmail.com> | 2019-03-14 10:30:20 +0100 |
---|---|---|
committer | talyz <kim.lindberger@gmail.com> | 2019-03-15 17:33:45 +0100 |
commit | 261372b69c69134944add26bd4e9a58c9570ab73 (patch) | |
tree | 3148c312bcad460cc58a7d9d405d79bd9b5d9100 /nixos/maintainers | |
parent | d738f0d7d6600ef091056716efc0741b8d0fe73d (diff) |
amazon-image.nix: Resolve failure to include resize2fs
Since 34234dcb511, for resize2fs to be automatically included in
initrd, a filesystem needed for boot must be explicitly defined as an
ext* type filesystem.
Diffstat (limited to 'nixos/maintainers')
-rw-r--r-- | nixos/maintainers/scripts/ec2/amazon-image.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/maintainers/scripts/ec2/amazon-image.nix b/nixos/maintainers/scripts/ec2/amazon-image.nix index eeae27ede0f8..88d95e675447 100644 --- a/nixos/maintainers/scripts/ec2/amazon-image.nix +++ b/nixos/maintainers/scripts/ec2/amazon-image.nix @@ -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" '' { |