* New 64-bit AMIs.

svn path=/nixos/trunk/; revision=33390
This commit is contained in:
Eelco Dolstra 2012-03-23 21:22:58 +00:00
parent 326891443c
commit 70e1958bb6

View file

@ -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}"
"");