eth2 -> config.xen.network.iface
[invirt/packages/xvm-prodconfig.git] / sysvms / s_master.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      = '1024'
10
11 disk        = ['phy:xenvg/s_master_hda,hda,w',
12                'phy:xenvg/s_master_hdb,hdb,w']
13
14 name        = 's_master'
15
16 vif         = [ 'ip=${cfg.db.ip},mac=00:16:3E:5F:C1:D4' ]
17
18 on_poweroff = 'destroy'
19 on_reboot   = 'restart'
20 on_crash    = 'restart'
21
22 root        = '/dev/hda1 ro'
23 extra = '2 console=xvc0'