move sysvms/* into xvm-prodconfig from invirt-xen-config
[invirt/packages/xvm-prodconfig.git] / sysvms / s_console.mako
1 <%
2 from invirt.config import structs as cfg
3 %>
4 import os
5
6 release     = os.uname()[2]
7 kernel      = '/boot/vmlinuz-%s' % release
8 ramdisk     = '/boot/initrd.img-%s' % release
9 memory      = '256'
10
11 disk        = ['phy:xenvg/s_console_hda,hda,w']
12
13 name        = 's_console'
14
15 vif         = [ 'ip=${cfg.console.ip},mac=00:16:3E:7E:E4:DE' ]
16
17 on_poweroff = 'destroy'
18 on_reboot   = 'restart'
19 on_crash    = 'restart'
20
21 root = '/dev/hda1 ro'
22 extra = '2 console=xvc0'