source: trunk/packages/invirt-xen-config/sysvms/s_remote.mako @ 1677

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

Generate config files for sysvms in invirt-xen-config

File size: 453 bytes
RevLine 
[1452]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      = '512'
10
11disk        = ['phy:xenvg/s_remote_hda,hda,w']
12
13name        = 's_remote'
14
15vif         = [ 'ip=${cfg.remote.ip},mac=00:16:3E:7F:C2:55' ]
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.