Advertisement
Guest User

Untitled

a guest
Oct 14th, 2010
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.31 KB | None | 0 0
  1. [root@homeserv ~]# cat /etc/libvirt/qemu/dnsserv.xml
  2. <domain type='kvm'>
  3.   <name>dnsserv</name>
  4.   <uuid>757db424-ee0c-1504-494e-0fdb1181cdd5</uuid>
  5.   <memory>1048576</memory>
  6.   <currentMemory>1048576</currentMemory>
  7.   <vcpu>1</vcpu>
  8.   <os>
  9.     <type arch='x86_64' machine='rhel5.4.0'>hvm</type>
  10.     <boot dev='hd'/>
  11.   </os>
  12.   <features>
  13.     <acpi/>
  14.     <apic/>
  15.     <pae/>
  16.   </features>
  17.   <clock offset='utc'/>
  18.   <on_poweroff>destroy</on_poweroff>
  19.   <on_reboot>restart</on_reboot>
  20.   <on_crash>restart</on_crash>
  21.   <devices>
  22.     <emulator>/usr/libexec/qemu-kvm</emulator>
  23.     <disk type='file' device='disk'>
  24.       <driver name='qemu' cache='none'/>
  25.       <source file='/virtual/dns.img'/>
  26.       <target dev='hda' bus='ide'/>
  27.     </disk>
  28.     <disk type='file' device='cdrom'>
  29.       <target dev='hdc' bus='ide'/>
  30.       <readonly/>
  31.     </disk>
  32.     <interface type='bridge'>
  33.       <mac address='00:16:36:70:22:83'/>
  34.       <source bridge='br0'/>
  35.     </interface>
  36.     <serial type='pty'>
  37.       <source path='/dev/pts/5'/>
  38.       <target port='0'/>
  39.     </serial>
  40.     <console type='pty' tty='/dev/pts/5'>
  41.       <source path='/dev/pts/5'/>
  42.       <target port='0'/>
  43.     </console>
  44.     <input type='mouse' bus='ps2'/>
  45.     <graphics type='vnc' port='5901' autoport='yes' keymap='en-us'/>
  46.   </devices>
  47. </domain>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement