From 5312a9611b61801d4a62d1959e65cf8d50c38eb1 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 2 Jul 2019 15:39:51 -0400 Subject: virt-install: Revive --wait 0 as alias for --noautoconsole This was the behavior prior to last release, and we received a bug report about it. Revive it, but warn about the recommended way to do it https://bugzilla.redhat.com/show_bug.cgi?id=1724287 --- virt-install | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'virt-install') diff --git a/virt-install b/virt-install index ee2b9006..af6c75bf 100755 --- a/virt-install +++ b/virt-install @@ -258,6 +258,14 @@ def convert_old_features(options): options.features = [",".join(opts)] +def convert_wait_zero(options): + # Historical back compat, --wait 0 is identical to --noautoconsole + if options.wait == 0: + log.warning("Treating --wait 0 as --noautoconsole") + options.autoconsole = False + options.wait = None + + ################################## # Install media setup/validation # ################################## @@ -972,6 +980,7 @@ def main(conn=None): convert_old_features(options) convert_old_cpuset(options) convert_old_init(options) + convert_wait_zero(options) set_test_stub_options(options) convert_old_os_options(options) -- cgit v1.2.1