aboutsummaryrefslogtreecommitdiff
path: root/nixos/maintainers
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2020-10-30 16:14:37 -0400
committerGitHub <noreply@github.com>2020-10-30 16:14:37 -0400
commit38a394bdee2e76840df736007e03d2e7a7c24f33 (patch)
tree4aa94b7d752e7f3b05b6e7fb759f1695c5b79850 /nixos/maintainers
parent860a3a23c6ec419ae5c558e17364f1e9a5136803 (diff)
parentd77ddf2a40641f346d9286e29f78ca9dfc64d533 (diff)
Merge pull request #102174 from grahamc/ami-root-use-gpt
AMI root partition table: use GPT to support >2T partitions
Diffstat (limited to 'nixos/maintainers')
-rw-r--r--nixos/maintainers/scripts/ec2/amazon-image.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/maintainers/scripts/ec2/amazon-image.nix b/nixos/maintainers/scripts/ec2/amazon-image.nix
index b09f4ca47a3f..0ecf07669a11 100644
--- a/nixos/maintainers/scripts/ec2/amazon-image.nix
+++ b/nixos/maintainers/scripts/ec2/amazon-image.nix
@@ -57,7 +57,7 @@ in {
inherit (cfg) contents format name;
pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
partitionTableType = if config.ec2.efi then "efi"
- else if config.ec2.hvm then "legacy"
+ else if config.ec2.hvm then "legacy+gpt"
else "none";
diskSize = cfg.sizeMB;
fsType = "ext4";