openstack-manuals/doc/config-reference/image-service/section_image-service-ISO-support.xml
Andreas Jaeger 3ca32b8434 s/Image Service/Image service/g
Change capitalization as discussed on openstack-docs mailing list.

Change-Id: I2ad81bffbd59bdd8b908664bb0a1ee16da1bf7ae
2015-04-15 15:16:59 +02:00

47 lines
2.0 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="iso-support">
<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>