Added ISO image support documentation

Created a new file for procedures and modified the chapter level
file to include the new file.

Change-Id: I101dec7d60671561a92fe4a709a55da9e8517dc2
Closes-Bug: #1302260
This commit is contained in:
andydugas 2014-04-03 17:30:40 -07:00 committed by Andreas Jaeger
parent 0e5b76c3d5
commit 698fd05cdc
2 changed files with 45 additions and 0 deletions

View File

@ -44,6 +44,7 @@
<xi:include href="../common/tables/glance-testing.xml"/> <xi:include href="../common/tables/glance-testing.xml"/>
<xi:include href="../common/tables/glance-wsgi.xml"/> <xi:include href="../common/tables/glance-wsgi.xml"/>
<xi:include href="../common/tables/glance-zmq.xml"/> <xi:include href="../common/tables/glance-zmq.xml"/>
<xi:include href="image-service/section_image-service-ISO-support.xml"/>
<xi:include href="image-service/section_image-service-backends.xml"/> <xi:include href="image-service/section_image-service-backends.xml"/>
<xi:include href="image-service/section_image-service-sample-configuration-files.xml" /> <xi:include href="image-service/section_image-service-sample-configuration-files.xml" />
</chapter> </chapter>

View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<section xml:id="iso-support" 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">
<title>Support for ISO images</title>
<para>You can load ISO images into the Image Service. You can
subsequently boot an ISO image using Compute.</para>
<procedure>
<title>To load an ISO image to an Image Service data
store</title>
<step>
<para>Obtain the ISO image. For example,
<filename>ubuntu-13.04-server-amd64.iso</filename>.</para>
</step>
<step>
<para>In the Image Service, run the following
command:</para>
<screen><prompt>$</prompt> <userinput>glance image-create --name ubuntu.iso \
--is-public=True --container-format=bare \
--disk-format=iso &lt; ubuntu-13.04-server-amd64.iso</userinput></screen>
<para>In this command, <literal>ubuntu.iso</literal> is
the name for the ISO image after it is loaded to the
Image Service, and
<literal>ubuntu-13.04-server-amd64.iso</literal>
is the name of the source ISO image.</para>
</step>
<step>
<para>Optionally, confirm the upload in Compute.</para>
<para>Run this command:</para>
<screen><prompt>$</prompt> <userinput>nova image-list</userinput></screen>
</step>
</procedure>
<procedure>
<title>To boot an instance from an ISO image</title>
<step>
<para>Run this command:</para>
<screen><prompt>$</prompt> <userinput>nova boot --image ubuntu.iso \
--flavor 1 instance_name</userinput></screen>
<para>In this command, <literal>ubuntu.iso</literal> is
the ISO image, and <literal>instance_name</literal> is
the name of the new instance.</para>
</step>
</procedure>
</section>