[virt-tools-list] [PATCH virt-install 0/4] Add install parameter to the --os-variant

Fabiano Fidêncio fidencio at redhat.com
Fri Feb 8 15:23:54 UTC 2019


This series introduces a new option to virt-install:
virt-install --name GuestName --os-variant fedora29,install=location
                                                    ----------------
                                                          |
                                                          v
                                                     The new bit!

When passing "install" parameter to --os-variant, virt-install will try
to get the URL location from libosinfo, according to the OS variant.

The naming "location|cdrom" have been chosen as it's already what's been
used by virt-install.

For now, install=location is the only thing implemented while
install=cdrom is just a no-op.

Fabiano Fidêncio (4):
  virt-install: Set options.disk if the value comes from osinfo-db
  osdict: add get_location()
  cli: Add "install" parameter to os-variant
  virt-install: Deal with os-variant's install param

 virt-install       | 14 ++++++++++++++
 virtinst/cli.py    |  2 ++
 virtinst/osdict.py | 25 +++++++++++++++++++++++++
 3 files changed, 41 insertions(+)

-- 
2.20.1




More information about the virt-tools-list mailing list