e77dbe04ac
We do not need these namespaces like xmlns:svg and xmlns:html anywhere, remove the declarations. Change-Id: Ic6aa62c28b2b21092d1e1d5c6f431807519f59af
19 lines
1.1 KiB
XML
19 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>
|