openstack-manuals/doc/image-guide/section_glance_image-formats.xml
Diane Fleming 8a16024a3a Fix headings in Image Guide
Partial-Bug: #1250515

author: diane fleming

Change-Id: I2378972adfd53803e5b3f7ff46439720d02dfe30
backport: none
2013-11-13 14:54:50 -06: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>