Blob Blame History Raw
From cbb550bc8064d8219798a2de80ed71b5bd4c4735 Mon Sep 17 00:00:00 2001
Message-Id: <cbb550bc8064d8219798a2de80ed71b5bd4c4735@dist-git>
From: Pavel Hrdina <phrdina@redhat.com>
Date: Tue, 13 Nov 2018 16:18:04 +0100
Subject: [PATCH] virt-install: Fix description for --os-variant

From: Andrea Bolognani <abologna@redhat.com>

Since we're messing with it either way, might as well use
modern OS names as examples.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
(cherry picked from commit a550a957278917f6edf94ada94017feeca77b7bf)

https://bugzilla.redhat.com/show_bug.cgi?id=1649406

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 man/virt-install.pod | 2 +-
 virt-install         | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/man/virt-install.pod b/man/virt-install.pod
index 8cd56fe0..b75b7998 100644
--- a/man/virt-install.pod
+++ b/man/virt-install.pod
@@ -475,7 +475,7 @@ file:
 =item B<--os-variant> OS_VARIANT
 
 Optimize the guest configuration for a specific operating system (ex.
-'fedora18', 'rhel7', 'winxp'). While not required, specifying this
+'fedora29', 'rhel7', 'win10'). While not required, specifying this
 options is HIGHLY RECOMMENDED, as it can greatly increase performance
 by specifying virtio among other guest tweaks.
 
diff --git a/virt-install b/virt-install
index a7f247f1..2c379ed3 100755
--- a/virt-install
+++ b/virt-install
@@ -786,8 +786,8 @@ def parse_args():
 
     insg.add_argument("--os-type", dest="distro_type", help=argparse.SUPPRESS)
     insg.add_argument("--os-variant", dest="distro_variant",
-        help=_("The OS variant being installed guests, "
-               "e.g. 'fedora18', 'rhel6', 'winxp', etc."))
+        help=_("The OS variant being installed in the guest, "
+               "e.g. 'fedora29', 'rhel7', 'win10 etc."))
 
     cli.add_boot_options(insg)
     insg.add_argument("--init", help=argparse.SUPPRESS)
-- 
2.19.2