Commit 5a8f6c82 authored by Scott Moser's avatar Scott Moser

Doc: include information on vendor-data in OpenStack

parents 12e739da 09cf2e1c
......@@ -43,6 +43,7 @@
- Azure: remove dependency on walinux-agent [Daniel Watkins]
- EC2: know about eu-central-1 availability-zone (LP: #1456684)
- Azure: remove password from on-disk ovf-env.xml (LP: #1443311) [Ben Howard]
- Doc: include information on user-data in OpenStack [Daniel Watkins]
0.7.6:
- open 0.7.6
- Enable vendordata on CloudSigma datasource (LP: #1303986)
......
......@@ -176,6 +176,12 @@ OVF
For now see: https://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/files/head:/doc/sources/ovf/
---------------------------
OpenStack
---------------------------
.. include:: ../../sources/openstack/README.rst
---------------------------
Fallback/None
---------------------------
......
*TODO*
Vendor Data
~~~~~~~~~~~
The OpenStack metadata server can be configured to serve up vendor data
which is available to all instances for consumption. OpenStack vendor
data is, generally, a JSON object.
cloud-init will look for configuration in the ``cloud-init`` attribute
of the vendor data JSON object. cloud-init processes this configuration
using the same handlers as user data, so any formats that work for user
data should work for vendor data.
For example, configuring the following as vendor data in OpenStack would
upgrade packages and install ``htop`` on all instances:
.. sourcecode:: json
{"cloud-init": "#cloud-config\npackage_upgrade: True\npackages:\n - htop"}
For more general information about how cloud-init handles vendor data,
including how it can be disabled by users on instances, see
https://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/vendordata.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment