diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-11-25 13:52:53 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-11-25 14:03:49 -0500 |
commit | 747c1e9d117137c36717581839150ee82fc31a85 (patch) | |
tree | 03af7845d4a081f7f9a71749314e1bb08369d4ae /virt-install | |
parent | 04b15f0dba1398b504f048b4bf22b626bf61798a (diff) | |
download | virt-manager-747c1e9d117137c36717581839150ee82fc31a85.tar.gz |
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>
Diffstat (limited to 'virt-install')
-rwxr-xr-x | virt-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/virt-install b/virt-install index b8c5a78b..b6f0a2ee 100755 --- a/virt-install +++ b/virt-install @@ -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) |