From 09ef4583a05adacb7aa25064fdb357c5b3c38072 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Fri, 21 Nov 2014 13:57:30 -0500 Subject: [PATCH] virt-install: Also don't show console= warning for machvirt + --location --- virt-install | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/virt-install b/virt-install index 342131532..46fb193f2 100755 --- a/virt-install +++ b/virt-install @@ -483,11 +483,12 @@ def _show_nographics_warnings(options, guest): return if not options.autoconsole: return - - if (guest.installer.cdrom and not - guest.os.is_arm_machvirt()): + if guest.os.is_arm_machvirt(): # Later arm kernels figure out console= automatically, so don't # warn about it. + return + + if guest.installer.cdrom: logging.warn(_("CDROM media does not print to the text console " "by default, so you likely will not see text install output. " "You might want to use --location.") + " " +