a squash merge will hide this oops

This commit is contained in:
Trevor Cooper 2022-07-16 12:00:33 -07:00
parent a7e0846898
commit ed829fcd7a
Signed by: tcooper
GPG Key ID: 52364D7BBCEB35B8
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ class VirtInstallImage(object):
if shortid not in out:
# this will just use the most recent rocky release number
# virt-install / osinfo knows
shortid = "rocky{0}-unknown".format(self.release)
shortid = "rocky{0}".format(release).split('.')[0] + "-unknown"
# destroy and delete the domain we use for all virt-installs
conn = libvirt.open()