be31aebdcf
* Added workaround for evaluation * Add support for cluster instances ami generation, only works in us-east-1 for now. e.g. ./create-ebs-ami.py --region us-east --hvm --key rob Cluster instances need to have a 8GB EBS backed image with 1 partition and with grub installed. Also HVM images can (currently) only be generated using the CreateImage API call, which requires a running or stopped instance. svn path=/nixos/trunk/; revision=33827
14 lines
354 B
Nix
14 lines
354 B
Nix
{
|
|
network.description = "NixOS EBS creator";
|
|
|
|
machine =
|
|
{ config, pkgs, ... }:
|
|
{ deployment.targetEnv = "ec2";
|
|
deployment.ec2.instanceType = "m1.small";
|
|
deployment.ec2.keyPair = "eelco";
|
|
deployment.ec2.securityGroups = [ "eelco-test" ];
|
|
environment.systemPackages = [ pkgs.parted ];
|
|
fileSystems = [];
|
|
};
|
|
}
|