mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-26 10:03:54 +03:00
virt-install: Encode guest defaults earlier
We need this for determining correct console tool to launch, and probably other checks later
This commit is contained in:
parent
215d296b61
commit
63b4d1f154
@ -101,6 +101,7 @@ def main(conn=None):
|
||||
|
||||
guest = converter.get_guest()
|
||||
installer = Installer(guest.conn)
|
||||
installer.set_install_defaults(guest)
|
||||
|
||||
conscb = None
|
||||
if options.autoconsole:
|
||||
|
@ -541,6 +541,7 @@ def build_guest_instance(conn, options):
|
||||
installer = build_installer(options, guest)
|
||||
if installer:
|
||||
set_distro_variant(options, guest, installer)
|
||||
installer.set_install_defaults(guest)
|
||||
|
||||
validate_required_options(options, guest, installer)
|
||||
check_option_collisions(options, guest, installer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user