[virt-manager PATCH v2 8/8] virt-install: Drop support for --os-variant list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx>
---
 man/virt-install.pod | 7 ++-----
 virt-install         | 7 -------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/man/virt-install.pod b/man/virt-install.pod
index 119b515..008b78d 100644
--- a/man/virt-install.pod
+++ b/man/virt-install.pod
@@ -384,11 +384,8 @@ By default, virt-install will attempt to auto detect this value from
 the install media (currently only supported for URL installs). Autodetection
 can be disabled with the special value 'none'.
 
-If the special value 'list' is passed, virt-install will print the full
-list of variant values and exit. The printed format is not a stable
-interface, DO NOT PARSE IT.
-
-Use '--os-variant list' to see the full OS list
+Use the command "osinfo-query os" to get the list of the accepted OS
+variants.
 
 =item --boot=BOOTOPTS
 
diff --git a/virt-install b/virt-install
index 6453f77..ab02041 100755
--- a/virt-install
+++ b/virt-install
@@ -841,13 +841,6 @@ def main(conn=None):
 
     check_cdrom_option_error(options)
 
-    if options.distro_variant == "list":
-        logging.debug("OS list requested")
-        for t in virtinst.osdict.list_os(list_types=True):
-            for v in virtinst.osdict.list_os(typename=t.name):
-                print "%-20s : %s" % (v.name, v.label)
-        return 0
-
     cli.set_force(options.force)
     cli.set_prompt(options.prompt)
 
-- 
1.8.5.3

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux