[./gestion/gen_confs/dhcpd.py] Certains services ne sont pas accessibles à tous
darcs-hash:20090413220000-8fbb1-2e52f1b4ace4f91a09a82ed3c5347d51e4736eeb.gz
This commit is contained in:
parent
0a03d1243b
commit
d90db74dcb
1 changed files with 10 additions and 6 deletions
|
@ -65,8 +65,11 @@ option option-119 code 119 = text ;
|
|||
"""option routers 138.231.148.1;
|
||||
option domain-name-servers 138.231.148.1;
|
||||
option domain-name "crans.org";
|
||||
option option-119 "crans.org wifi.crans.org";"""
|
||||
}
|
||||
option option-119 "crans.org wifi.crans.org";
|
||||
option time-servers 138.231.136.3;
|
||||
option ntp-servers 138.231.136.3;
|
||||
option smtp-server 138.231.136.3;"""}
|
||||
|
||||
elif hostname == 'rouge':
|
||||
reseaux = { '138.231.136.0/21' :
|
||||
"""authoritative;
|
||||
|
@ -74,7 +77,11 @@ option option-119 code 119 = text ;
|
|||
option domain-name-servers 138.231.136.9, 138.231.136.10, 138.231.136.3;
|
||||
option domain-name "crans.org";
|
||||
option option-119 "crans.org wifi.crans.org";
|
||||
filename "pxelinux.0";""" }
|
||||
filename "pxelinux.0";
|
||||
option time-servers 138.231.136.3;
|
||||
option ntp-servers 138.231.136.3;
|
||||
option smtp-server 138.231.136.3;""" }
|
||||
|
||||
elif hostname == 'titanic':
|
||||
reseaux = {'10.2.9.0/24' :
|
||||
"""authoritative;
|
||||
|
@ -88,9 +95,6 @@ subnet %(network)s netmask %(netmask)s {
|
|||
option subnet-mask %(netmask)s;
|
||||
option broadcast-address %(broadcast)s;
|
||||
%(OPTIONS_RESEAU)s
|
||||
option time-servers 138.231.136.3;
|
||||
option ntp-servers 138.231.136.3;
|
||||
option smtp-server 138.231.136.3;
|
||||
option ip-forwarding off;
|
||||
deny unknown-clients;
|
||||
%(HOSTs)s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue