Skip to content

Instantly share code, notes, and snippets.

View Hunter21007's full-sized avatar

Jurij Zahn Hunter21007

  • OTTO GmbH
  • Germany
View GitHub Profile
@Hunter21007
Hunter21007 / export_libvirt_config.md
Created August 7, 2018 07:25
Snippet to export the libvirt config

This can be used to export relevant libvirt configs

the script iterates over sections defined in the first loop
then in thecond loop it iterates over config entitiels got from list command
and pipes the xml dump into aproproate file in the ${PWD}

This is how i use the script normally

You can add more sections from libvirt like: