* Add an option to distinguish between EC2 and Nova targets.

svn path=/nixos/trunk/; revision=27482
This commit is contained in:
Eelco Dolstra 2011-06-16 14:14:50 +00:00
parent 610839eb29
commit e25843d01c
1 changed files with 10 additions and 0 deletions

View File

@ -38,6 +38,16 @@ with pkgs.lib;
# EC2/Nova/Eucalyptus-specific options.
deployment.ec2.type = mkOption {
default = "ec2";
example = "nova";
description = ''
Specifies the type of cloud. This affects the machine
configuration. Current values are <literal>"ec2"</literal>
and <literal>"nova"</literal>.
'';
};
deployment.ec2.controller = mkOption {
example = https://ec2.eu-west-1.amazonaws.com:443/;
description = ''