mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-11-18 03:01:25 +00:00
Try and deal with F26 being archived *already*
Grumble mumble. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
3f9cbd27d4
commit
9aeb8841c5
@ -285,6 +285,10 @@ class VirtInstallImage(object):
|
||||
elif int(self.release) > fedfind.helpers.get_current_release(branched=False):
|
||||
# branched
|
||||
loctmp = "https://dl.fedoraproject.org/pub/{0}/development/{1}/{2}/{3}/os/"
|
||||
else:
|
||||
# sigh i hate life
|
||||
if int(self.release < 27):
|
||||
loctmp = "https://archives.fedoraproject.org/pub/archive/{0}/linux/releases/{1}/{2}/{3}/os/"
|
||||
else:
|
||||
loctmp = "https://download.fedoraproject.org/pub/{0}/releases/{1}/{2}/{3}/os/"
|
||||
xargs = "inst.ks=file:/{0}.ks".format(self.name)
|
||||
|
Loading…
Reference in New Issue
Block a user