diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-11-25 13:38:52 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-11-25 14:03:49 -0500 |
commit | da996317f856b32c149aa14ce2038d75bfb96fb5 (patch) | |
tree | 0884f44747b0f68a310fc34271eb91a327898405 /virt-install | |
parent | c5da0d7b07da27b2102986b7b310f3be0dcb3968 (diff) | |
download | virt-manager-da996317f856b32c149aa14ce2038d75bfb96fb5.tar.gz |
cli: cloudinit: default to --autoconsole text with --cloud-init
Cloud images all work nicely with text output, and it's likely
the preferred native way to connect to the guest vs graphical.
Plus it simplifies generated password copy+paste
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virt-install')
-rwxr-xr-x | virt-install | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/virt-install b/virt-install index 0bec5f3e..b8c5a78b 100755 --- a/virt-install +++ b/virt-install @@ -655,9 +655,8 @@ def _print_cloudinit_passwd(installer): def start_install(guest, installer, options): - autoconsole = cli.parse_autoconsole(options, guest) + autoconsole = cli.parse_autoconsole(options, guest, installer) show_console_warnings(installer, autoconsole) - conscb = autoconsole.get_console_cb() conscb = autoconsole.get_console_cb() if autoconsole.is_default() and not conscb and options.wait is None: |