mirror of https://gitee.com/openkylin/libvirt.git
10 lines
445 B
Plaintext
10 lines
445 B
Plaintext
(vm (name 'pvtest')(memory 384)(maxmem 512)(vcpus 1)\
|
|
(uuid '49a0c6ff-c066-5392-6498-3632d093c2e7')(bootloader '/usr/bin/pygrub')\
|
|
(on_poweroff 'destroy')(on_reboot 'restart')(on_crash 'restart')\
|
|
(image (linux (args 'ro root=/dev/VolGroup00/LogVol00')))\
|
|
(localtime 0)\
|
|
(device (tap (dev 'xvda')(uname 'tap:aio:/var/lib/xen/images/rhel5pv.img')\
|
|
(mode 'w!')))\
|
|
(device (vif (mac '00:16:3e:23:9e:eb')(bridge 'xenbr0')\
|
|
(script 'vif-bridge'))))\
|