1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-11-22 07:13:09 +00:00

Don't include fedoradir twice in virt-install branched URL

...oops.
This commit is contained in:
Adam Williamson 2017-09-15 19:53:13 -07:00
parent b0fd971916
commit 4e2df1104d

View File

@ -276,7 +276,7 @@ class VirtInstallImage(object):
loctmp = "https://dl.fedoraproject.org/pub/{0}/development/rawhide/{2}/{3}/os" loctmp = "https://dl.fedoraproject.org/pub/{0}/development/rawhide/{2}/{3}/os"
elif int(self.release) > fedfind.helpers.get_current_release(branched=False): elif int(self.release) > fedfind.helpers.get_current_release(branched=False):
# branched # branched
loctmp = "https://dl.fedoraproject.org/pub/{0}/development/{0}/{1}/{2}/os/" loctmp = "https://dl.fedoraproject.org/pub/{0}/development/{1}/{2}/os/"
else: else:
loctmp = "https://download.fedoraproject.org/pub/{0}/releases/{1}/{2}/{3}/os/" loctmp = "https://download.fedoraproject.org/pub/{0}/releases/{1}/{2}/{3}/os/"
xargs = "inst.ks=file:/{0}.ks".format(self.name) xargs = "inst.ks=file:/{0}.ks".format(self.name)