Add default disk template selection to man pages
authorHelga Velroyen <helgav@google.com>
Tue, 2 Jul 2013 08:49:39 +0000 (10:49 +0200)
committerHelga Velroyen <helgav@google.com>
Wed, 3 Jul 2013 09:40:57 +0000 (11:40 +0200)
This documents the newly implemented behavior of picking
the disk template from the list of enabled disk templates
on instance creation.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>

man/gnt-cluster.rst
man/gnt-instance.rst

index 5a3798f..6a77e4b 100644 (file)
@@ -557,7 +557,9 @@ this list, see **gnt-instance**\(8). Note that in contrast to the list of
 disk templates in the ipolicy, this list is a hard restriction. It is not
 possible to create instances with disk templates that are not enabled in
 the cluster. It is also not possible to disable a disk template when there
-are still instances using it.
+are still instances using it. The first disk template in the list of
+enabled disk template is the default disk template. It will be used for
+instance creation, if no disk template is requested explicitely.
 
 MASTER-FAILOVER
 ~~~~~~~~~~~~~~~
index 71ebe3d..a6e8fa8 100644 (file)
@@ -763,7 +763,10 @@ don't need to pass them with the ``-n`` option. For more information
 please refer to the instance allocator documentation.
 
 The ``-t (--disk-template)`` options specifies the disk layout type
-for the instance.  The available choices are:
+for the instance. If no disk template is specified, the default disk
+template is used. The default disk template is the first in the list
+of enabled disk templates, which can be adjusted cluster-wide with
+``gnt-cluster modify``. The available choices for disk templates are:
 
 diskless
     This creates an instance with no disks. Its useful for testing only