diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-11-24 17:40:27 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-11-24 18:12:06 -0500 |
commit | 44c519200c8db61a7ae8c06259f5d69a3383d4c8 (patch) | |
tree | 24e4d5b4fd03a8e05c003458d90a7c7984064095 /virt-install | |
parent | 1676f05a591207be21979eaeace45f593b9f8605 (diff) | |
download | virt-manager-44c519200c8db61a7ae8c06259f5d69a3383d4c8.tar.gz |
cli: Add _AutoconsoleData and use it
This will be expanded later to track explicit requests for certain
console types
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virt-install')
-rwxr-xr-x | virt-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/virt-install b/virt-install index a51c78e4..f7fb624f 100755 --- a/virt-install +++ b/virt-install @@ -634,9 +634,10 @@ class WaitHandler: def start_install(guest, installer, options): show_console_warnings(options, guest, installer) + autoconsole = cli.parse_autoconsole(options.autoconsole) conscb = None - if options.autoconsole: + if autoconsole.is_default(): conscb = cli.get_console_cb(guest) if not conscb and options.wait is None: # If there isn't any console to actually connect up, |