diff --git a/createhdds.py b/createhdds.py index e5b7070..d842e8f 100755 --- a/createhdds.py +++ b/createhdds.py @@ -244,9 +244,12 @@ class VirtInstallImage(object): arch = self.arch if arch == 'i686': arch = 'i386' + xargs = "inst.ks=file:/{0}.ks".format(self.name) + if self.release == 26: + # workaround RHBZ #1439388: remove when fixed in F26 + xargs += " inst.updates=https://www.happyassassin.net/updates/1439388.img" args = ["virt-install", "--disk", "size={0},path={1}".format(self.size, tmpfile), - "--os-variant", shortid, "-x", - "inst.ks=file:/{0}.ks".format(self.name), "--initrd-inject", + "--os-variant", shortid, "-x", xargs, "--initrd-inject", "{0}/{1}.ks".format(SCRIPTDIR, self.name), "--location", loctmp.format(str(self.release), self.variant, arch), "--name", "createhdds", "--memory", "2048", "--noreboot", "--wait", "-1"]