Blame SOURCES/virt-manager-virt-install-Fix-description-for-os-variant.patch

4d81f3
From cbb550bc8064d8219798a2de80ed71b5bd4c4735 Mon Sep 17 00:00:00 2001
4d81f3
Message-Id: <cbb550bc8064d8219798a2de80ed71b5bd4c4735@dist-git>
4d81f3
From: Pavel Hrdina <phrdina@redhat.com>
4d81f3
Date: Tue, 13 Nov 2018 16:18:04 +0100
4d81f3
Subject: [PATCH] virt-install: Fix description for --os-variant
4d81f3
4d81f3
From: Andrea Bolognani <abologna@redhat.com>
4d81f3
4d81f3
Since we're messing with it either way, might as well use
4d81f3
modern OS names as examples.
4d81f3
4d81f3
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
4d81f3
(cherry picked from commit a550a957278917f6edf94ada94017feeca77b7bf)
4d81f3
4d81f3
https://bugzilla.redhat.com/show_bug.cgi?id=1649406
4d81f3
4d81f3
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
4d81f3
---
4d81f3
 man/virt-install.pod | 2 +-
4d81f3
 virt-install         | 4 ++--
4d81f3
 2 files changed, 3 insertions(+), 3 deletions(-)
4d81f3
4d81f3
diff --git a/man/virt-install.pod b/man/virt-install.pod
4d81f3
index 8cd56fe0..b75b7998 100644
4d81f3
--- a/man/virt-install.pod
4d81f3
+++ b/man/virt-install.pod
4d81f3
@@ -475,7 +475,7 @@ file:
4d81f3
 =item B<--os-variant> OS_VARIANT
4d81f3
 
4d81f3
 Optimize the guest configuration for a specific operating system (ex.
4d81f3
-'fedora18', 'rhel7', 'winxp'). While not required, specifying this
4d81f3
+'fedora29', 'rhel7', 'win10'). While not required, specifying this
4d81f3
 options is HIGHLY RECOMMENDED, as it can greatly increase performance
4d81f3
 by specifying virtio among other guest tweaks.
4d81f3
 
4d81f3
diff --git a/virt-install b/virt-install
4d81f3
index a7f247f1..2c379ed3 100755
4d81f3
--- a/virt-install
4d81f3
+++ b/virt-install
4d81f3
@@ -786,8 +786,8 @@ def parse_args():
4d81f3
 
4d81f3
     insg.add_argument("--os-type", dest="distro_type", help=argparse.SUPPRESS)
4d81f3
     insg.add_argument("--os-variant", dest="distro_variant",
4d81f3
-        help=_("The OS variant being installed guests, "
4d81f3
-               "e.g. 'fedora18', 'rhel6', 'winxp', etc."))
4d81f3
+        help=_("The OS variant being installed in the guest, "
4d81f3
+               "e.g. 'fedora29', 'rhel7', 'win10 etc."))
4d81f3
 
4d81f3
     cli.add_boot_options(insg)
4d81f3
     insg.add_argument("--init", help=argparse.SUPPRESS)
4d81f3
-- 
4d81f3
2.19.2
4d81f3