From 7339757f3ac96eb4b40528a92a7a182defbed544 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 22 Apr 2022 16:42:24 -0700 Subject: [PATCH] Use updates image for F35 installs to handle RHBZ#2019579 Signed-off-by: Adam Williamson --- createhdds.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/createhdds.py b/createhdds.py index 31e4a80..791049f 100755 --- a/createhdds.py +++ b/createhdds.py @@ -315,6 +315,10 @@ class VirtInstallImage(object): loctmp = "https://download.fedoraproject.org/pub/{0}/releases/{1}/{2}/{3}/os/" ksfile = self.kickstart_file xargs = "inst.ks=file:/{0}".format(ksfile) + if str(self.release) == '35': + # we need this for installs to work with updated systemd: + # https://bugzilla.redhat.com/show_bug.cgi?id=2019579#c24 + xargs += " inst.updates=https://rvykydal.fedorapeople.org/update-images/updates.f35-2019579-resolvconf.img" args = ["virt-install", "--disk", "size={0},path={1}".format(self.size, tmpfile), "--os-variant", shortid, "-x", xargs, "--initrd-inject", "{0}/{1}".format(SCRIPTDIR, ksfile), "--location",