sexpr2xml-net-bridged.xml 924 字节
Newer Older
1 2
<domain type='xen' id='6'>
  <name>pvtest</name>
3
  <uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
  <os>
    <type>linux</type>
    <kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
    <initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
    <cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os  </cmdline>
  </os>
  <memory>430080</memory>
  <vcpu>2</vcpu>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/root/some.img'/>
      <target dev='xvda'/>
    </disk>
    <interface type='bridge'>
      <source bridge='xenbr2'/>
23
      <target dev='vif6.0'/>
24 25 26
      <mac address='00:11:22:33:44:55'/>
      <script path='vif-bridge'/>
    </interface>
27 28 29
    <console type='pty'>
      <target port='0'/>
    </console>
30 31
  </devices>
</domain>