4bf765758c
This patch works several files that were not in common use back into the documents they should live with. The intended end result of this activity is to make common as lean as possible so it can be more easily translated. Also: Don't include configdrive table in user-guide since it's not relevant for audience Change-Id: Iacd5c68c639e60e8c711cb18351543e477444299
20 lines
1.1 KiB
XML
20 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
version="5.0"
|
|
xml:id="inserting_userdata">
|
|
<title>Provide user data to instances</title>
|
|
<para>A <glossterm baseform="user data">user data</glossterm> file is a special key in the metadata service that
|
|
holds a file that cloud-aware applications in the guest instance
|
|
can access. For example, one application that uses user data is
|
|
the <link xlink:href="https://help.ubuntu.com/community/CloudInit"
|
|
>cloud-init</link> system, which is an open-source package from
|
|
Ubuntu that is available on various Linux distributions and which
|
|
handles early initialization of a cloud instance.</para>
|
|
<para>You can place user data in a local file and pass it through
|
|
the <parameter>--user-data <user-data-file></parameter>
|
|
parameter at instance creation:</para>
|
|
<screen><prompt>$</prompt> <userinput>nova boot --image ubuntu-cloudimage --flavor 1 --user-data mydata.file</userinput></screen>
|
|
</section>
|