Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os, re
- arch = os.uname()[4]
- if re.search('64', arch):
- arch_libdir = 'lib64'
- else:
- arch_libdir = 'lib'
- kernel = "/usr/lib/xen/boot/hvmloader"
- builder='hvm'
- memory = 2048
- name = "kagami"
- vcpus=2
- pae=0
- vif = [ 'bridge=eth0.254','bridge=eth0.61' ]
- disk = [ 'phy:/dev/disk/by-path/ip-169.254.0.1:3260-iscsi-iqn.1986-03.com.sun:02:fcac26ec-b0eb-66d8-e2b7-a58c664071b5-lun-0,hda,w']
- device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
- boot='cd'
- sdl=0
- vnc=1
- vnclisten='0.0.0.0'
- vncviewer=0
- stdvga=0
- serial='pty'
- ne2000=0
- audio=0
- localtime=1
- usb=1
- usbdevice='tablet'
Add Comment
Please, Sign In to add comment