[groups.xml,interfaces] On ajoute le vlan wifi sur komaz, on rend passible d'ajouter des lignes de conf dans le fonction dev de interfaces pour wifi.
Ignore-this: a422b602e53655de54ba202c5d733095 darcs-hash:20130125025710-3a55a-1db4f781a57f15dc0314181c724988a847f8de6a.gz
This commit is contained in:
parent
e702263aec
commit
3b5ca9d8ee
2 changed files with 2 additions and 3 deletions
|
@ -13,6 +13,7 @@
|
|||
<!-- <Group name="ups-monitor"/> -->
|
||||
<Group name="firmware-bnx2"/>
|
||||
<Group name="vlan-ens"/>
|
||||
<Group name="vlan-wifi" />
|
||||
<Group name="nginx" comment="Proxy web et pages déco"/>
|
||||
</Group>
|
||||
|
||||
|
|
|
@ -31,8 +31,6 @@ iface %(interface)s inet static
|
|||
gateway 138.231.136.4
|
||||
dns-nameservers 138.231.136.98 138.231.136.247
|
||||
dns-search crans.org""" % { 'interface': interface, 'ip': pubip() }
|
||||
if not has('vlan-wifi'):
|
||||
print """ post-up ip r add 138.231.144.0/21 dev %(interface)s via 138.231.136.247 src %(ip)s""" % { 'interface': interface, 'ip': pubip() }
|
||||
|
||||
for line in additionnals:
|
||||
print " ", line
|
||||
|
@ -132,7 +130,7 @@ iface %(interface)s inet manual
|
|||
else:
|
||||
raise NotImplementedError, "Mode de reseau inconnu : %s" % mode
|
||||
|
||||
if mode != "pub" and mode != "adm":
|
||||
if mode != "pub" and mode != "adm" and mode != "wifi" :
|
||||
for line in additionnals:
|
||||
print " ", line
|
||||
print
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue