-
-
Save damm/158582 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mayo:~ sudo virsh dumpxml chefserver | |
Connecting to uri: qemu:///system | |
<domain type='kvm' id='20'> | |
<name>chefserver</name> | |
<uuid>e13f3fac-1a96-253c-2e46-4597ce2c9e44</uuid> | |
<memory>524288</memory> | |
<currentMemory>524288</currentMemory> | |
<vcpu>1</vcpu> | |
<os> | |
<type arch='x86_64' machine='pc'>hvm</type> | |
<boot dev='hd'/> | |
</os> | |
<features> | |
<acpi/> | |
</features> | |
<clock offset='utc'/> | |
<on_poweroff>destroy</on_poweroff> | |
<on_reboot>restart</on_reboot> | |
<on_crash>destroy</on_crash> | |
<devices> | |
<emulator>/usr/bin/kvm</emulator> | |
<disk type='file' device='disk'> | |
<source file='/var/vms/chefserver/disk0.qcow2'/> | |
<target dev='sda' bus='virtio'/> | |
</disk> | |
<interface type='bridge'> | |
<mac address='52:54:00:55:1f:a1'/> | |
<source bridge='br0'/> | |
<target dev='vnet0'/> | |
<model type='virtio'/> | |
</interface> | |
<input type='mouse' bus='ps2'/> | |
<graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'/> | |
</devices> | |
</domain> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mayo:~ sudo virsh net-dumpxml default | |
Connecting to uri: qemu:///system | |
<network> | |
<name>default</name> | |
<uuid>56693927-7419-aa99-6487-1db9b1202ced</uuid> | |
<forward dev='eth0' mode='route'/> | |
<bridge name='virbr0' stp='on' forwardDelay='0' /> | |
<ip address='127.0.0.2' netmask='255.0.0.0'> | |
<dhcp> | |
<range start='10.0.0.2' end='10.0.0.254' /> | |
</dhcp> | |
</ip> | |
</network> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment