From 96bb2f7107619a33963c36e7287d46cdbb1e2c47 Mon Sep 17 00:00:00 2001
From: Manuel Franceschini <manuel.franceschini@gmail.com>
Date: Wed, 23 Apr 2008 15:11:39 +0000
Subject: [PATCH] Fix burnin ImportExport CreateInstance opcode

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 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/burnin b/tools/burnin
index 2793f3cf0..0878f0bac 100755
--- a/tools/burnin
+++ b/tools/burnin
@@ -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))
-- 
GitLab