Commit a5e7be6b authored by Iustin Pop's avatar Iustin Pop
Browse files

burnin: don't do export/import for file storage

This is currently not supported, so don't try to do export/import in
this case.

Reviewed-by: imsnah
parent 8a74a9b9
...@@ -491,7 +491,9 @@ class Burner(object): ...@@ -491,7 +491,9 @@ class Burner(object):
if opts.do_failover and opts.disk_template in constants.DTS_NET_MIRROR: if opts.do_failover and opts.disk_template in constants.DTS_NET_MIRROR:
self.Failover() self.Failover()
if opts.do_importexport: if (opts.do_importexport and
opts.disk_template not in (constants.DT_DISKLESS,
constants.DT_FILE)):
self.ImportExport() self.ImportExport()
if opts.do_startstop: if opts.do_startstop:
......
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