Skip to content

Commit

Permalink
Allow i2 instances to be used (hvm).
Browse files Browse the repository at this point in the history
  • Loading branch information
rbvermaa committed Mar 13, 2014
1 parent 9b0f181 commit 0f8516e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nix/ec2.nix
Expand Up @@ -117,7 +117,10 @@ let
cfg.instanceType == "cc1.4xlarge"
|| cfg.instanceType == "cc2.8xlarge"
|| cfg.instanceType == "hs1.8xlarge"
|| cfg.instanceType == "cr1.8xlarge";
|| cfg.instanceType == "cr1.8xlarge"
|| builtins.substring 0 2 cfg.instanceType == "i2"
|| builtins.substring 0 2 cfg.instanceType == "c3"
|| builtins.substring 0 2 cfg.instanceType == "m3";

# Map "/dev/mapper/xvdX" to "/dev/xvdX".
dmToDevice = dev:
Expand Down

0 comments on commit 0f8516e

Please sign in to comment.