Fix another issue with hypervisor_name change
authorIustin Pop <iustin@google.com>
Thu, 16 Jul 2009 16:30:57 +0000 (18:30 +0200)
committerIustin Pop <iustin@google.com>
Fri, 17 Jul 2009 11:37:26 +0000 (13:37 +0200)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>

lib/cmdlib.py

index c2965f6..c752ee7 100644 (file)
@@ -4615,7 +4615,7 @@ class LUCreateInstance(LogicalUnit):
       disks=[(d["size"], d["mode"]) for d in self.disks],
       bep=self.be_full,
       hvp=self.hv_full,
-      hypervisor=self.op.hypervisor,
+      hypervisor_name=self.op.hypervisor,
     ))
 
     nl = ([self.cfg.GetMasterNode(), self.op.pnode] +