annotate config-example.py @ 50:151c7ef48ded
Added tag v0.1 for changeset ff5eebae3437f6f0253c5f2e1f0a34a32e0c7001
author |
igor@manas.xt.vpn |
date |
Wed Oct 01 00:39:01 2008 +0300 (2008-10-01) |
parents |
|
children |
|
rev |
line source |
igor@0
|
1
|
igor@0
|
2 node1='dom0'
|
igor@0
|
3 node2='dom0m'
|
igor@0
|
4 i_am=node1
|
igor@0
|
5
|
igor@0
|
6 ip_address = {
|
igor@0
|
7 node1: '192.168.1.190',
|
igor@0
|
8 node2: '192.168.1.191'
|
igor@0
|
9 }
|
igor@0
|
10
|
igor@0
|
11 node1_ip=ip_address[node1]
|
igor@0
|
12 node2_ip=ip_address[node2]
|
igor@0
|
13
|
igor@0
|
14 domains=['log', 'dns', 'gw', 'igw', 'ldap', 'mail', 'proxy', 'samba', 'vpn', 'intraweb', 'jabber']
|
igor@0
|
15
|
igor@0
|
16 domain_home = {
|
igor@0
|
17 node1 : ['log', 'dns', 'gw', 'igw', 'ldap', 'mail', 'proxy', 'vpn', 'intraweb', 'jabber'],
|
igor@0
|
18 node2 : ['samba'],
|
igor@0
|
19 }
|
igor@0
|
20
|
igor@0
|
21 kernel = "/boot/vmlinuz-2.6.18-5-xen-686"
|
igor@0
|
22 ramdisk = "/boot/initrd.img-2.6.18-5-xen-686"
|
igor@0
|
23
|
igor@0
|
24 mem_table={
|
igor@0
|
25 'log' :256,
|
igor@0
|
26 'dns' :64,
|
igor@0
|
27 'gw' :64,
|
igor@0
|
28 'igw' :128,
|
igor@0
|
29 'ldap' :64,
|
igor@0
|
30 'mail' :256,
|
igor@0
|
31 'proxy' :256,
|
igor@0
|
32 'samba' :256,
|
igor@0
|
33 'vpn' :64,
|
igor@0
|
34 'web' :128,
|
igor@0
|
35 'intraweb':128,
|
igor@0
|
36 'jabber':64,
|
igor@0
|
37 }
|
igor@0
|
38
|
igor@0
|
39 lvm_vg_name="XEN"
|
igor@0
|
40 disk_table={
|
igor@0
|
41 'log' : ['10G'],
|
igor@0
|
42 'dns' : ['2G'],
|
igor@0
|
43 'gw' : ['2G'],
|
igor@0
|
44 'igw' : ['2G'],
|
igor@0
|
45 'ldap' : ['2G'],
|
igor@0
|
46 'mail' : ['2G','maildir:2G'],
|
igor@0
|
47 'proxy' : ['10G'],
|
igor@0
|
48 'samba' : ['2G','samba-share:2G'],
|
igor@0
|
49 'vpn' : ['2G'],
|
igor@0
|
50 'web' : ['10G'],
|
igor@0
|
51 'intraweb' : ['10G'],
|
igor@0
|
52 'jabber' : ['2G'],
|
igor@0
|
53 }
|
igor@0
|
54
|
igor@0
|
55 bridges=['br0','br1']
|
igor@0
|
56 vlans=[4094,4093]
|
igor@0
|
57 management_vlan=4094 # vlan 2
|
igor@0
|
58 trunk='eth1'
|
igor@0
|
59 management_ip=ip_address[i_am]
|
igor@0
|
60 management_gw='192.168.1.197'
|
igor@0
|
61
|
igor@0
|
62 vbridges_table={
|
igor@0
|
63 'log' : ['br1'],
|
igor@0
|
64 'dns' : ['br1'],
|
igor@0
|
65 'gw' : ['br0', 'br1'],
|
igor@0
|
66 'igw' : ['br1'],
|
igor@0
|
67 'ldap' : ['br1'],
|
igor@0
|
68 'mail' : ['br1'],
|
igor@0
|
69 'proxy' : ['br1'],
|
igor@0
|
70 'samba' : ['br1'],
|
igor@0
|
71 'vpn' : ['br1'],
|
igor@0
|
72 'web' : ['br1'],
|
igor@0
|
73 'intraweb' : ['br1'],
|
igor@0
|
74 'jabber' : ['br1'],
|
igor@0
|
75 }
|
igor@0
|
76
|
igor@0
|
77 ip_network="192.168.3"
|
igor@0
|
78 domain_name="example.com"
|
igor@0
|
79 ip_nameserver="192.168.3.2"
|
igor@0
|
80 ip_gateway="192.168.3.3"
|
igor@0
|
81
|
igor@0
|
82 debian_release="etch"
|
igor@0
|
83 debian_mirror="http://debian.org.ua/debian"
|
igor@0
|
84 apt_get_install="less tcpdump libpam-ldap libnss-ldap snmpd libc6-xen openssh-server"
|
igor@0
|
85
|
igor@0
|
86
|