-
Notifications
You must be signed in to change notification settings - Fork 1
/
vm_conf.template
56 lines (46 loc) · 923 Bytes
/
vm_conf.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Automtically generated by ConVirt
import os, re
arch=os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
name=''
kernel='/usr/lib/xen/boot/hvmloader'
builder='hvm'
memory=512
shadow_memory=10
#vcpus=1 # number of vcpu's
#cpus = "0" # all vcpus run on CPU0
pae=1
acpi=1
apic=1
vif=['mac=$AUTOGEN_MAC, bridge=br0,model=virtio']
disk=['file:$VM_DISKS_DIR/$VM_NAME.disk.xm,vda,w']
device_model='/usr/' + arch_libdir + '/xen/bin/qemu-dm'
# Boots from CDROM.
# Change to 'c' after Linux installation in order to boot from disk.
boot='cd'
#boot='c'
sdl=0
vnc=1
vncunused=1
stdvga=0
extra=''
on_reboot='restart'
on_shutdown='destroy'
ramdisk=''
image_name='VirtInstall'
on_crash='destroy'
bootloader=''
next_boot_device='c'
vcpus=1
root=''
platform='xen'
network_mode='tap'
os_flavor='Linux'
os_name='CentOS'
os_version='5.5'
usb=1
usbdevice='tablet'
provision_timeout=300