summaryrefslogtreecommitdiff
path: root/virt-install
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2019-11-24 17:25:51 -0500
committerCole Robinson <crobinso@redhat.com>2019-11-24 17:25:51 -0500
commit4ef519229da8181f3d9f9a0fb99fd3f413dd9ff9 (patch)
treefb4b5d441535351be2ea71ea5906ff5f347de768 /virt-install
parentb55a959e5e73dcff84aae293f0877956fb4cde2c (diff)
downloadvirt-manager-4ef519229da8181f3d9f9a0fb99fd3f413dd9ff9.tar.gz
virt-install: Drop warning about '--console none'
This should be rarely if ever used, don't warn the user about this case Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virt-install')
-rwxr-xr-xvirt-install19
1 files changed, 2 insertions, 17 deletions
diff --git a/virt-install b/virt-install
index 2a6f58c7..f569c46a 100755
--- a/virt-install
+++ b/virt-install
@@ -319,10 +319,6 @@ def validate_required_options(options, guest, installer):
fail(msg)
-_cdrom_location_man_page = _("See the man page for examples of "
- "using --location with CDROM media")
-
-
def _show_nographics_warnings(options, guest, installer):
if guest.devices.graphics:
return
@@ -333,19 +329,8 @@ def _show_nographics_warnings(options, guest, installer):
log.warning(_("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.") + " " +
- _cdrom_location_man_page)
- return
-
- if not options.location:
- return
-
- # Trying --location --nographics with console connect. Warn if
- # they likely won't see any output.
-
- if not guest.devices.console:
- log.warning(_("No --console device added, you likely will not "
- "see text install output from the guest."))
- return
+ _("See the man page for examples of "
+ "using --location with CDROM media"))
def _show_memory_warnings(guest):