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