doc xen support for auto_disk_config=disabled

Previously, only True and False were supported. Havana changed to
allows an administrator to specify which images should reject
any user requests for auto config.

Also fix an incorrect statement that auto_disk_config was a nova.conf
variable - it is instead a property set on an image in glance.

Change-Id: I32a09ce1258893388d31ca2c1704e57d23ceff97
Closes-Bug: 1214816
This commit is contained in:
Tom Fifield 2013-09-30 19:10:39 +04:00
parent 30cec57089
commit 09685f57a6
2 changed files with 8 additions and 4 deletions

View File

@ -274,13 +274,17 @@
<varlistentry>
<term>auto_disk_config</term>
<listitem>
<para>A boolean option. If true, the root partition
<para>If true, the root partition
on the disk is automatically resized before
the instance boots. This value is only taken into
account by the Compute service when using a
Xen-based hypervisor with the XenAPI driver. The
Compute service tries to resize a single partition
in ext3 or ext4 format is on the image.</para>
in ext3 or ext4 format is on the image.
To specify that an image's disk cannot be resized
add <literal>auto_disk_config=disabled</literal> as
an image property with <command>glance image-update</command>
.</para>
</listitem>
</varlistentry>
<varlistentry>

View File

@ -55,8 +55,8 @@
automatically adjust the partition and filesystem for your instance on boot.
Automatic resize will occur if the following are all true:<itemizedlist>
<listitem>
<para><literal>auto_disk_config=True</literal> in
<filename>nova.conf</filename>.</para>
<para><literal>auto_disk_config=True</literal> is
set as a property on the image in the Image Registry.</para>
</listitem>
<listitem>
<para>The disk on the image has only one partition.</para>