projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14b3f96
)
QA: fix reimporting instance with different name
author
Iustin Pop
<iustin@google.com>
Thu, 22 Apr 2010 11:58:35 +0000
(13:58 +0200)
committer
Iustin Pop
<iustin@google.com>
Thu, 22 Apr 2010 12:09:42 +0000
(14:09 +0200)
Since the original instance still exists, we need to use a different MAC
for its NIC.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
qa/qa_instance.py
patch
|
blob
|
history
diff --git
a/qa/qa_instance.py
b/qa/qa_instance.py
index
fcd54d2
..
c1d660f
100644
(file)
--- a/
qa/qa_instance.py
+++ b/
qa/qa_instance.py
@@
-284,6
+284,7
@@
def TestInstanceImport(node, newinst, expnode, name):
cmd = (['gnt-backup', 'import',
'--disk-template=plain',
'--no-ip-check',
+ '--net', '0:mac=generate',
'--src-node=%s' % expnode['primary'],
'--src-dir=%s/%s' % (constants.EXPORT_DIR, name),
'--node=%s' % node['primary']] +