source: package_tags/invirt-xen-config/0.0.11/sysvms/s_console.mako

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

Generate config files for sysvms in invirt-xen-config

File size: 456 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      = '256'
10
11disk        = ['phy:xenvg/s_console_hda,hda,w']
12
13name        = 's_console'
14
15vif         = [ 'ip=${cfg.console.ip},mac=00:16:3E:7E:E4:DE' ]
16
17on_poweroff = 'destroy'
18on_reboot   = 'restart'
19on_crash    = 'restart'
20
21root = '/dev/hda1 ro'
22extra = '2 console=xvc0'
Note: See TracBrowser for help on using the repository browser.