Commit 53a8da8e authored by Iustin Pop's avatar Iustin Pop
Browse files

QA: fix reimporting instance with different name



Since the original instance still exists, we need to use a different MAC
for its NIC.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 14b3f969
......@@ -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']] +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment