Virsh dumpxml: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * virsh =Overview= Used to dump a VM definition as XML. <pre> virsh dumpxml <vm-name> </pre>")
 
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
=Overview=
=Overview=


Used to dump a [[Linux Virtualization Concepts#VM_Definition|VM definition]] as XML.
Used to dump a [[Linux Virtualization Concepts#VM_Definition|virtual machine definition]] as XML.


<pre>
<pre>
virsh dumpxml <vm-name>
virsh dumpxml <vm-name>
</pre>
Example
<pre>
virsh dumpxml template > ./vm-definitions/template.xml
</pre>
</pre>

Latest revision as of 13:25, 30 June 2017

Internal

Overview

Used to dump a virtual machine definition as XML.

virsh dumpxml <vm-name>

Example

virsh dumpxml template > ./vm-definitions/template.xml