openstack-manuals/doc/config-reference/image-service/section_image-service-ISO-support.xml
Kevin_Zheng ce5be65a5c Move description of how to boot instance with ISO to user-guide
The description of how to boot instance with ISO should be in user-guide
instead of config-ref
(doc/config-reference/image-service/section_image-service-ISO-support.xml).
Related to https://review.openstack.org/#/c/177691/.

Change-Id: I2ac2098474851cdbad5ef07ed6f78af12dafd243
Closes-Bug:#1450419
2015-06-05 09:59:16 +00:00

31 lines
1.5 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>In the Image service, run the following
command:</para>
<screen><prompt>$</prompt> <userinput>glance image-create --name "ubuntu-14.04.2-server-amd64.iso" \
--copy-from http://releases.ubuntu.com/14.04.2/ubuntu-14.04.2-server-amd64.iso \
--is-public True --container-format bare --disk-format 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
<replaceable>ubuntu-14.04.2-server-amd64.iso</replaceable>
is the name of the source ISO image.</para>
</step>
<step>
<para>Optionally, to confirm the upload in Image Service (glance), run this command:</para> <para>Run this command:</para>
<screen><prompt>$</prompt> <userinput>glance image-list</userinput></screen>
</step>
</procedure>
</section>