gnt-instance: no instance creation with disabled templates
authorHelga Velroyen <helgav@google.com>
Tue, 26 Mar 2013 17:10:18 +0000 (18:10 +0100)
committerHelga Velroyen <helgav@google.com>
Thu, 11 Apr 2013 20:53:30 +0000 (22:53 +0200)
commite04ec58e2508764c0cb8c00cced4fbf283417981
tree3bc03d60e6369830e10fa1a1b35128acb8023278
parentf41dc024cce1e4e4a81a544fe39d2a63e12acfb0
gnt-instance: no instance creation with disabled templates

This patch makes sure that no instances can be created which use
disk templates which are not enabled on the cluster.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtarara@google.com>
lib/cmdlib.py