Fix (hopefully) Branched base image location detection

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2017-03-06 17:18:16 -08:00
parent 2940891d8f
commit 9fe9b2281f

View File

@ -237,7 +237,7 @@ class VirtInstallImage(object):
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/fedora/linux/development/" loctmp = "https://dl.fedoraproject.org/pub/fedora/linux/development/"
loctmp += self.release[1:] loctmp += str(self.release)
loctmp += "/{1}/{2}/os" loctmp += "/{1}/{2}/os"
else: else:
loctmp = "https://download.fedoraproject.org/pub/fedora/linux/releases/{0}/{1}/{2}/os" loctmp = "https://download.fedoraproject.org/pub/fedora/linux/releases/{0}/{1}/{2}/os"