summaryrefslogtreecommitdiff
path: root/virt-install
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2019-06-11 15:55:34 -0400
committerCole Robinson <crobinso@redhat.com>2019-06-11 17:55:09 -0400
commit436c471b15136ed1014626316540ca7bc2bf166a (patch)
tree350d49a99845195d412af5c649d3169c3a7f8c1f /virt-install
parentde90716eb4debbe5492728d67410e2b3dd45eec8 (diff)
downloadvirt-manager-436c471b15136ed1014626316540ca7bc2bf166a.tar.gz
virt-install: Drop the serial extra_args warnings
There's been multiple reports that these aren't really valid nowadays. systemd is smart enough to make this work automagically. So just drop it
Diffstat (limited to 'virt-install')
-rwxr-xr-xvirt-install22
1 files changed, 0 insertions, 22 deletions
diff --git a/virt-install b/virt-install
index aeb12f88..a2cf258f 100755
--- a/virt-install
+++ b/virt-install
@@ -393,28 +393,6 @@ def _show_nographics_warnings(options, guest, installer):
"see text install output from the guest."))
return
- serial_arg = "console=ttyS0"
- serial_arm_arg = "console=ttyAMA0"
- hvc_arg = "console=hvc0"
-
- console_type = serial_arg
- if guest.os.is_arm():
- console_type = serial_arm_arg
- if guest.devices.console[0].target_type in ["virtio", "xen"]:
- console_type = hvc_arg
- if guest.os.is_ppc64() or guest.os.is_arm_machvirt() or guest.os.is_s390x():
- # Later arm/ppc/s390x kernels figure out console= automatically, so
- # don't warn about it.
- return
-
- for args in (options.extra_args or []):
- if console_type in (args or ""):
- return
-
- logging.warning(_("Did not find '%(console_string)s' in --extra-args, "
- "which is likely required to see text install output from the "
- "guest."), {"console_string": console_type})
-
def show_warnings(options, guest, installer):
if options.pxe and not supports_pxe(guest):