nixos.amazonAmi: use legacy+gpt disk images to support partitions >2T
This commit is contained in:
parent
d78aa080f5
commit
d77ddf2a40
1 changed files with 1 additions and 1 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";
|
||||
|
|
Loading…
Reference in a new issue