From db0e7787cea9809ea72930411ca6e2155a6aa5a7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 13 Mar 2012 15:03:41 +0000 Subject: [PATCH] * Add a 32-bit AMI that finally seems to boot reliably. svn path=/nixos/trunk/; revision=33034 --- modules/misc/deployment.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/misc/deployment.nix b/modules/misc/deployment.nix index 574046ac7afd..87100f09822f 100644 --- a/modules/misc/deployment.nix +++ b/modules/misc/deployment.nix @@ -202,6 +202,7 @@ let cfg = config.deployment; in # $ 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 == "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.