d65df0696a
Change-Id: Ic9ad5d3678119aac0a80244574254e560594d108
22 lines
1.1 KiB
XML
22 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- moved to launch instances file -->
|
|
<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><glossterm baseform="user data">User data</glossterm> is a
|
|
special key in the
|
|
metadata service that holds a file that cloud-aware applications
|
|
in the guest instance can access. For example the <link
|
|
xlink:href="https://help.ubuntu.com/community/CloudInit"
|
|
><package>cloudinit</package></link> system is a Ubuntu open
|
|
source package that handles early initialization of a cloud
|
|
instance and that makes use of <literal>user
|
|
data</literal>.</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>
|