Throw out old old installer.
[invirt/packages/invirt-autoinstaller.git] / files / usr / sbin / sipb-xen-lvcopy
index 317b88a..53c5aa8 100755 (executable)
@@ -48,6 +48,9 @@ def frob_copy(target, hostname, rootpw):
   call(['losetup', '-d', fs])
 
 def duplicate_by_vm(source, target, rootpw, nodd=False, nofrob=False):
+  if source != "ice3":
+     print "Error: can't clone that VM"
+     sys.exit(1)
   # source, target should be machine names
   prefix = 'd_'
   # 1. copy (by dd) source to target