From 09685f57a68b0cc883045211481c14bf25485ab8 Mon Sep 17 00:00:00 2001 From: Tom Fifield Date: Mon, 30 Sep 2013 19:10:39 +0400 Subject: [PATCH] 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 --- doc/admin-guide-cloud/section_adding-images.xml | 8 ++++++-- doc/image-guide/ch_openstack_images.xml | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/admin-guide-cloud/section_adding-images.xml b/doc/admin-guide-cloud/section_adding-images.xml index 3fe215dbd0..8f966385d7 100644 --- a/doc/admin-guide-cloud/section_adding-images.xml +++ b/doc/admin-guide-cloud/section_adding-images.xml @@ -274,13 +274,17 @@ auto_disk_config - A boolean option. If true, the root partition + 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. + in ext3 or ext4 format is on the image. + To specify that an image's disk cannot be resized + add auto_disk_config=disabled as + an image property with glance image-update + . diff --git a/doc/image-guide/ch_openstack_images.xml b/doc/image-guide/ch_openstack_images.xml index 734d0a7d94..787f21fe94 100644 --- a/doc/image-guide/ch_openstack_images.xml +++ b/doc/image-guide/ch_openstack_images.xml @@ -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: - auto_disk_config=True in - nova.conf. + auto_disk_config=True is + set as a property on the image in the Image Registry. The disk on the image has only one partition.