193
193
iso_url = iso_url.replace("RELEASE", devel_release)
195
195
### Use zsync to fetch the ISO
196
subprocess.call(["zsync", "-i", iso_filename, "-o", iso_filename, iso_url])
196
cmd = "cd %s && zsync -i %s -o %s %s" % (container_path, iso_filename, iso_filename, iso_url)
198
199
### Remove the ISO backup since it's not needed
199
200
if os.path.exists(iso_filename+".zs-old"):
200
201
os.remove(iso_filename+".zs-old")
204
208
subprocess.call(["mount", "-o", "loop,ro", iso_filename, iso_path])