source: trunk/packages/invirt-xen-config/sysvms/s_master.mako @ 1941

Last change on this file since 1941 was 1452, checked in by broder, 16 years ago

Generate config files for sysvms in invirt-xen-config

File size: 502 bytes
Line 
1<%
2from invirt.config import structs as cfg
3%>
4import os
5
6release     = os.uname()[2]
7kernel      = '/boot/vmlinuz-%s' % release
8ramdisk     = '/boot/initrd.img-%s' % release
9memory      = '1024'
10
11disk        = ['phy:xenvg/s_master_hda,hda,w',
12               'phy:xenvg/s_master_hdb,hdb,w']
13
14name        = 's_master'
15
16vif         = [ 'ip=${cfg.db.ip},mac=00:16:3E:5F:C1:D4' ]
17
18on_poweroff = 'destroy'
19on_reboot   = 'restart'
20on_crash    = 'restart'
21
22root        = '/dev/hda1 ro'
23extra = '2 console=xvc0'
Note: See TracBrowser for help on using the repository browser.