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
_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list