Fix burnin ImportExport CreateInstance opcode
authorManuel Franceschini <manuel.franceschini@gmail.com>
Wed, 23 Apr 2008 15:11:39 +0000 (15:11 +0000)
committerManuel Franceschini <manuel.franceschini@gmail.com>
Wed, 23 Apr 2008 15:11:39 +0000 (15:11 +0000)
This patch adds the two attributes file_storage_dir and file_driver
to the CreateInstance opcode in the ImportExport method, since
otherwise it will fail with the file storage patches.

Reviewed-by: iustinp

tools/burnin

index 2793f3c..0878f0b 100755 (executable)
@@ -305,7 +305,9 @@ class Burner(object):
                                         start=True,
                                         ip_check=True,
                                         wait_for_sync=True,
-                                        mac="auto")
+                                        mac="auto",
+                                        file_storage_dir=None,
+                                        file_driver=None)
       erem_op = opcodes.OpRemoveExport(instance_name=instance)
 
       Log("- Export instance %s to node %s" % (instance, enode))