QA: skip lvm-based tests if lvm disabled
[ganeti-local] / tools / move-instance
index 3ea7e8a..b0b8a3e 100755 (executable)
@@ -569,7 +569,8 @@ class MoveSourceExecutor(object):
     logging.info("Retrieving instance information from source cluster")
     instinfo = self._GetInstanceInfo(src_client, mrt.PollJob,
                                      mrt.move.src_instance_name)
-    if instinfo["disk_template"] == constants.DT_FILE:
+    if (instinfo["disk_template"] in
+        [constants.DT_FILE, constants.DT_SHARED_FILE]):
       raise Error("Inter-cluster move of file-based instances is not"
                   " supported.")