Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit dcb293d

Browse files
committed
Use os-type/variant regardless of FV vs. PV.
1 parent d9df70e commit dcb293d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

virt-install

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,10 @@ def main():
605605
options.sdl, options.keymap, guest)
606606

607607
get_extraargs(options.extra, guest)
608+
if options.distro_type:
609+
guest.set_os_type(options.distro_type)
610+
if options.distro_variant:
611+
guest.set_os_variant(options.distro_variant)
608612

609613
# and now for the full-virt vs paravirt specific questions
610614
get_install_media(options.location, options.cdrom, options.pxe,
@@ -616,10 +620,6 @@ def main():
616620
guest.features["acpi"] = False
617621
if options.noapic:
618622
guest.features["apic"] = False
619-
if options.distro_type:
620-
guest.set_os_type(options.distro_type)
621-
if options.distro_variant:
622-
guest.set_os_variant(options.distro_variant)
623623
continue_inst = guest.get_continue_inst()
624624

625625
def show_console(dom):

0 commit comments

Comments
 (0)