virt-manager/virtinst
Cole Robinson 8560138cf2 cli: Add --xml xpath option for virt-install and virt-xml
The --xml option allows users to request raw XML edits to virt-install
or virt-xml generated XML. This gives users a bit of a workaround
incase we don't have proper support for some XML property. The --xml
option can gain more features in the future if it makes sense, like
setting XML namespaces for example.

Basic usage is like: virt-install --xml ./@foo=bar ...

Which will change the generated <domain> XML to have

<domain foo='bar' ...

virt-xml works similarly. It can only be combined with --edit currently.
This only works with xpaths rooted against the entire document.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-09-11 15:04:37 -04:00
..
devices cli: Fill in all --filesystem suboptions 2020-09-11 09:00:33 -04:00
domain cli: support --sysinfo type=fwcfg,entry... 2020-09-11 09:00:33 -04:00
install installer: Upload unattended and cloudinit data to remote connections 2020-09-08 19:24:21 -04:00
__init__.py i18n: globally install also the ngettext function 2020-07-14 11:24:14 -04:00
buildconfig.py tests: Rename all test files to have test_ prefix 2020-01-27 06:57:37 -05:00
capabilities.py createvm: Fix checking for empty KVM caps 2020-08-30 14:23:24 -04:00
cli.py cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
cloner.py clone: Rework the UI 2020-09-05 15:49:55 -04:00
connection.py virt-manager: drop libvirt 0.6.0 version check 2020-08-29 12:37:12 -04:00
diskbackend.py cloner: Big API rework 2020-09-05 15:49:55 -04:00
domcapabilities.py domcapabilities: Fix backtrace on python3.9 2020-08-18 13:49:16 -04:00
generatename.py generatename: Move libvirt collision handling to callers 2019-06-11 17:54:45 -04:00
guest.py cli: support --sysinfo type=fwcfg,entry... 2020-09-11 09:00:33 -04:00
logger.py tests: abide logging options for clitests 2019-12-11 17:57:28 -05:00
network.py hostnets: Remove SR-IOV info listing 2019-06-16 23:48:51 -04:00
nodedev.py Switch to more traditional logging structure 2019-06-17 00:12:31 -04:00
osdict.py osdict: extend non-EOL distros range to 10 years 2020-08-18 13:50:59 -04:00
pollhelpers.py objects: Erase the notion of connkey 2020-09-01 14:27:11 -04:00
progress.py virtinst/progress.py: change 'fo' to make codespell happy 2020-07-04 17:56:57 -04:00
snapshot.py virtinst: move UI only functions into virtManager 2019-06-09 18:33:45 -04:00
storage.py cloner: Share more clone disk building logic 2020-09-05 15:49:55 -04:00
support.py uitests: finish statsmanager.py coverage 2020-09-05 17:50:57 -04:00
uri.py xmlutil: add a diff() helper 2020-09-05 15:49:55 -04:00
virtclone.py clone: Rework the UI 2020-09-05 15:49:55 -04:00
virtinstall.py cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
virtxml.py cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
xmlapi.py cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
xmlbuilder.py cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
xmlutil.py xmlutil: add a diff() helper 2020-09-05 15:49:55 -04:00