openstack-manuals/doc/image-guide/section_glance_image-formats.xml
annegentle 834168dd79 Ensures reference for image formats and metadata remains intact
Offers a redirect from an old URL that glance docs refer to.
Removes files that are not used.
Renames some files, creates a section for inclusion.

Change-Id: Ic6d4a47ec18a71f359d0eb37cd3e71954e9825b8
Closes-bug: 1244666
2013-10-27 09:09:17 +01:00

102 lines
4.2 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="image-formats">
<title>Disk and Container Formats for Images</title>
<?dbhtml stop-chunking?>
<para>When you add an image to the Image Service, you can specify
its disk and container formats.</para>
<section xml:id="disk-format">
<title>Disk Formats</title>
<para>The disk format of a virtual machine image is the format
of the underlying disk image. Virtual appliance vendors
have different formats for laying out the information
contained in a virtual machine disk image.</para>
<para>Set the disk format for your image to one of the
following values:</para>
<itemizedlist>
<listitem>
<para><literal>raw</literal>. An unstructured disk
image format; if you have a file without an
extension it is possibly a raw format</para>
</listitem>
<listitem>
<para><literal>vhd</literal>. The VHD disk format, a
common disk format used by virtual machine
monitors from VMWare, Xen, Microsoft, VirtualBox,
and others</para>
</listitem>
<listitem>
<para><literal>vmdk</literal>. Common disk format
supported by many common virtual machine
monitors</para>
</listitem>
<listitem>
<para><literal>vdi</literal>. Supported by VirtualBox
virtual machine monitor and the QEMU
emulator</para>
</listitem>
<listitem>
<para><literal>iso</literal>. An archive format for
the data contents of an optical disc, such as
CD-ROM.</para>
</listitem>
<listitem>
<para><literal>qcow2</literal>. Supported by the QEMU
emulator that can expand dynamically and supports
Copy on Write</para>
</listitem>
<listitem>
<para><literal>aki</literal>. An Amazon kernel
image.</para>
</listitem>
<listitem>
<para><literal>ari</literal>. An Amazon ramdisk
image.</para>
</listitem>
<listitem>
<para><literal>ami</literal>. An Amazon machine
image.</para>
</listitem>
</itemizedlist>
</section>
<section xml:id="container-format">
<title>Container Formats</title>
<para>The container format indicates whether the virtual
machine image is in a file format that also contains
metadata about the actual virtual machine.</para>
<note>
<para>The Image Service and other OpenStack projects do
not currently support the container format. It is safe
to specify <literal>bare</literal> as the container
format if you are unsure.</para>
</note>
<para>You can set the container format for your image to one
of the following values:</para>
<itemizedlist>
<listitem>
<para><literal>bare</literal>. The image does not have
a container or metadata envelope.</para>
</listitem>
<listitem>
<para><literal>ovf</literal>. The OVF container
format.</para>
</listitem>
<listitem>
<para><literal>aki</literal>. An Amazon kernel image.
</para>
</listitem>
<listitem>
<para><literal>ari</literal>. An Amazon ramdisk
image.</para>
</listitem>
<listitem>
<para><literal>ami</literal>. An Amazon machine
image.</para>
</listitem>
</itemizedlist>
</section>
</section>