From 199e36f9fa21ecfc95d2ba3e87a1412773f1e835 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Thu, 4 Sep 2014 18:51:00 -0700 Subject: [PATCH] doc openstack builder: region req'd only for rackspace Modify openstack builder doc to say that specifying a region is only required for public rackspace and is NOT required for a private openstack cloud. --- .../source/docs/builders/openstack.html.markdown | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/website/source/docs/builders/openstack.html.markdown b/website/source/docs/builders/openstack.html.markdown index c49aa9ec0..b9aa4d6a3 100644 --- a/website/source/docs/builders/openstack.html.markdown +++ b/website/source/docs/builders/openstack.html.markdown @@ -41,11 +41,6 @@ each category, the available configuration keys are alphabetized. `SDK_PROVIDER`, if set. For Rackspace this should be `rackspace-us` or `rackspace-uk`. -* `region` (string) - The name of the region, such as "DFW", in which - to launch the server to create the AMI. - If not specified, Packer will use the environment variables - `SDK_REGION` or `OS_REGION_NAME` (in that order), if set. - * `source_image` (string) - The ID or full URL to the base image to use. This is the image that will be used to launch a new server and provision it. @@ -96,6 +91,14 @@ each category, the available configuration keys are alphabetized. * `security_groups` (array of strings) - A list of security groups by name to add to this instance. +* `region` (string) - The name of the region, such as "DFW", in which + to launch the server to create the AMI. + If not specified, Packer will use the environment variables + `SDK_REGION` or `OS_REGION_NAME` (in that order), if set. + For a `provider` of "rackspace", it is required to specify a region, + either using this option or with an environment variable. For other + providers, including a private cloud, specifying a region is optional. + * `ssh_port` (integer) - The port that SSH will be available on. Defaults to port 22.