mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
virt-install: Move cloudinit password printing before guest start
Otherwise if the timeout is hit, the user may miss VM boot output Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
04b15f0dba
commit
747c1e9d11
@ -675,6 +675,8 @@ def start_install(guest, installer, options):
|
||||
|
||||
domain = None
|
||||
try:
|
||||
_print_cloudinit_passwd(installer)
|
||||
|
||||
waithandler.start()
|
||||
|
||||
domain = installer.start_install(guest, meter=meter,
|
||||
@ -684,8 +686,6 @@ def start_install(guest, installer, options):
|
||||
if options.destroy_on_exit:
|
||||
atexit.register(_destroy_on_exit, domain)
|
||||
|
||||
_print_cloudinit_passwd(installer)
|
||||
|
||||
cli.connect_console(guest, domain, conscb,
|
||||
waithandler.wait_for_console_to_exit,
|
||||
options.destroy_on_exit)
|
||||
|
Loading…
Reference in New Issue
Block a user