From f521b12b0ed0a5ec96153542bea5705cb1a2b470 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 24 Apr 2021 02:38:25 +0000 Subject: [PATCH] Revert "nixos/amazon-image: (temporarily) use fixed disk size again" This reverts commit 6a8359a92ab501ae62739e9d3302f48e3e73c750. --- nixos/maintainers/scripts/ec2/amazon-image.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos/maintainers/scripts/ec2/amazon-image.nix b/nixos/maintainers/scripts/ec2/amazon-image.nix index b05467fb9b89..653744986d13 100644 --- a/nixos/maintainers/scripts/ec2/amazon-image.nix +++ b/nixos/maintainers/scripts/ec2/amazon-image.nix @@ -41,8 +41,7 @@ in { sizeMB = mkOption { type = with types; either (enum [ "auto" ]) int; - # TODO(lukegb): this should be "auto"; see #120473 - default = if config.ec2.hvm then 2048 else 8192; + default = "auto"; example = 8192; description = "The size in MB of the image"; };