* Add an option ‘deployment.ec2.keyPair’.

svn path=/nixos/trunk/; revision=27238
This commit is contained in:
Eelco Dolstra 2011-05-12 15:30:56 +00:00
parent 862fe5ad78
commit 95dc49a89d
1 changed files with 13 additions and 3 deletions

View File

@ -38,10 +38,11 @@ with pkgs.lib;
# EC2/Nova/Eucalyptus-specific options.
deployment.ec2.url = mkOption {
example = "https://ec2.eu-west-1.amazonaws.com:443/";
deployment.ec2.controller = mkOption {
example = https://ec2.eu-west-1.amazonaws.com:443/;
description = ''
URL of an Amazon EC2-compatible web service, used to create virtual machines.
URI of an Amazon EC2-compatible cloud controller web service,
used to create and manage virtual machines.
'';
};
@ -63,6 +64,15 @@ with pkgs.lib;
'';
};
deployment.ec2.keyPair = mkOption {
example = "my-keypair";
description = ''
Name of the SSH key pair to be used to communicate securely
with the instance. Key pairs can be created using the
<command>ec2-add-keypair</command> command.
'';
};
# Ad hoc cloud options.
deployment.adhoc.controller = mkOption {