guest: fix warning message when machine type is changed for secure boot
Introduced by commit <3586d1897>. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1727811 Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
dbfdc099d8
commit
3c6e85375d
|
@ -586,7 +586,8 @@ class Guest(XMLBuilder):
|
|||
self.os.loader_secure = True
|
||||
if self.os.machine and "q35" not in self.os.machine:
|
||||
log.warning("Changing machine type from '%s' to 'q35' "
|
||||
"which is required for UEFI secure boot.")
|
||||
"which is required for UEFI secure boot.",
|
||||
self.os.machine)
|
||||
self.os.machine = "q35"
|
||||
|
||||
def disable_hyperv_for_uefi(self):
|
||||
|
|
Loading…
Reference in New Issue