Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
mayo:~ sudo virsh dumpxml chefserver
Connecting to uri: qemu:///system
<domain type='kvm' id='20'>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='hd'/>
<clock offset='utc'/>
<disk type='file' device='disk'>
<source file='/var/vms/chefserver/disk0.qcow2'/>
<target dev='hda' bus='ide'/>
<interface type='bridge'>
<mac address='52:54:00:55:1f:a1'/>
<source bridge='br0'/>
<target dev='vnet0'/>
<model type='virtio'/>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5900' autoport='yes' listen=''/>
mayo:~ sudo virsh net-dumpxml default
Connecting to uri: qemu:///system
<forward mode='nat'/>
<bridge name='virbr0' stp='on' forwardDelay='0' />
<ip address='' netmask=''>
<range start='' end='' />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment