Merge pull request #102174 from grahamc/ami-root-use-gpt

AMI root partition table: use GPT to support >2T partitions
This commit is contained in:
Graham Christensen
2020-10-30 16:14:37 -04:00
committed by GitHub
2 changed files with 16 additions and 2 deletions
@@ -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";