diff options
author | Andrea Bolognani <abologna@redhat.com> | 2018-11-09 16:36:38 +0100 |
---|---|---|
committer | Pavel Hrdina <phrdina@redhat.com> | 2018-11-13 12:08:46 +0100 |
commit | ade53764fc4e86db1d37012c3723e92b81c6b4c9 (patch) | |
tree | fea85ff91dddc33dba31d98ba795914b121d0f7e /virt-xml | |
parent | 751fb88c58b0e1d922b11397bcfe3cd91af694f0 (diff) | |
download | virt-manager-ade53764fc4e86db1d37012c3723e92b81c6b4c9.tar.gz |
virt-xml: Accept --os-variant option
We're not doing anything with it yet, but having the
parser accept it means we can write tests and see how
their output changes once we wire it up in earnest.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Diffstat (limited to 'virt-xml')
-rwxr-xr-x | virt-xml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -360,6 +360,11 @@ def parse_args(): outg.add_argument("--confirm", action="store_true", help=_("Require confirmation before saving any results.")) + osg = parser.add_argument_group(_("OS options")) + osg.add_argument("--os-variant", dest="distro_variant", + help=_("The OS variant installed in the guest, " + "e.g. 'fedora29', 'rhel7', 'win10 etc.")) + g = parser.add_argument_group(_("XML options")) cli.add_disk_option(g, editexample=True) cli.add_net_option(g) |