From 70e1958bb61fd114d7f9579b2f6feae089f4d87e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 23 Mar 2012 21:22:58 +0000 Subject: [PATCH] * New 64-bit AMIs. svn path=/nixos/trunk/; revision=33390 --- modules/misc/deployment.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/misc/deployment.nix b/modules/misc/deployment.nix index 87e77559629b..85f9c27324cf 100644 --- a/modules/misc/deployment.nix +++ b/modules/misc/deployment.nix @@ -201,10 +201,10 @@ let cfg = config.deployment; in # The list below is generated by running the "create-amis.sh" script, then doing: # $ while read system region ami; do echo " if cfg.ec2.region == \"$region\" && config.nixpkgs.system == \"$system\" then \"$ami\" else"; done < amis ami = mkDefault ( - if cfg.ec2.region == "eu-west-1" && config.nixpkgs.system == "x86_64-linux" then "ami-65dae711" else + if cfg.ec2.region == "eu-west-1" && config.nixpkgs.system == "x86_64-linux" then "ami-732c1407" else + if cfg.ec2.region == "us-east-1" && config.nixpkgs.system == "x86_64-linux" then "ami-d9409fb0" else + if cfg.ec2.region == "us-west-1" && config.nixpkgs.system == "x86_64-linux" then "ami-4996ce0c" else if cfg.ec2.region == "eu-west-1" && config.nixpkgs.system == "i686-linux" then "ami-dd90a9a9" else - if cfg.ec2.region == "us-east-1" && config.nixpkgs.system == "x86_64-linux" then "ami-95bb72fc" else - if cfg.ec2.region == "us-west-1" && config.nixpkgs.system == "x86_64-linux" then "ami-0b0c534e" else # !!! Doesn't work, not lazy enough. # throw "I don't know an AMI for region ‘${cfg.ec2.region}’ and platform type ‘${config.nixpkgs.system}’" "");