don't hardcode the shortid for -unknown release

This commit is contained in:
Trevor Cooper 2022-07-16 11:56:51 -07:00
parent 293f50666e
commit a7e0846898
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 = 'rocky9.0'
shortid = "rocky{0}-unknown".format(self.release)
# destroy and delete the domain we use for all virt-installs
conn = libvirt.open()