Created
July 30, 2009 05:41
-
-
Save powdahound/158581 to your computer and use it in GitHub Desktop.
This file contains 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='hda' bus='ide'/> | |
</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 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 mode='nat'/> | |
<bridge name='virbr0' stp='on' forwardDelay='0' /> | |
<ip address='192.168.122.1' netmask='255.255.255.0'> | |
<dhcp> | |
<range start='192.168.122.2' end='192.168.122.254' /> | |
</dhcp> | |
</ip> | |
</network> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment