osdict: Hardcode win11 requires UEFI
Since there's a release pending, this is a bit of future proofing if win11 pops up in a future osinfo-db without accompanying libosinfo firmware APIs landing Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
5640e9be5b
commit
291b750831
|
@ -464,6 +464,13 @@ class _OsVariant(object):
|
|||
except Exception: # pragma: no cover
|
||||
log.debug("Error checking osinfo firmware support", exc_info=True)
|
||||
|
||||
if self.name == "win11": # pragma: no cover
|
||||
# 2022-03 the libosinfo APIs for firmware haven't landed, and
|
||||
# there's no osinfo-db entry for win11. But we know win11 requires
|
||||
# UEFI. Hardcode it for now, so the next virt-install release has
|
||||
# a better chance of doing the right thing for win11 when
|
||||
# it pops up in a osinfo-db release.
|
||||
ret = True
|
||||
return ret
|
||||
|
||||
def get_recommended_resources(self):
|
||||
|
|
Loading…
Reference in New Issue