move-instance: Pass OS parameters to new instance
authorMichael Hanselmann <hansmi@google.com>
Thu, 29 Jul 2010 15:55:14 +0000 (17:55 +0200)
committerMichael Hanselmann <hansmi@google.com>
Fri, 30 Jul 2010 15:32:19 +0000 (17:32 +0200)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

tools/move-instance

index dda8798..8c77dc6 100755 (executable)
@@ -490,7 +490,8 @@ class MoveDestExecutor(object):
                              source_x509_ca=expinfo["x509_ca"],
                              source_instance_name=instance["name"],
                              beparams=instance["be_instance"],
-                             hvparams=instance["hv_instance"])
+                             hvparams=instance["hv_instance"],
+                             osparams=instance["os_instance"])
 
 
 class MoveSourceExecutor(object):