6
The OpenStack metadata server can be configured to serve up vendor data
7
which is available to all instances for consumption. OpenStack vendor
8
data is, generally, a JSON object.
10
cloud-init will look for configuration in the ``cloud-init`` attribute
11
of the vendor data JSON object. cloud-init processes this configuration
12
using the same handlers as user data, so any formats that work for user
13
data should work for vendor data.
15
For example, configuring the following as vendor data in OpenStack would
16
upgrade packages and install ``htop`` on all instances:
20
{"cloud-init": "#cloud-config\npackage_upgrade: True\npackages:\n - htop"}
22
For more general information about how cloud-init handles vendor data,
23
including how it can be disabled by users on instances, see
24
https://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/vendordata.txt