diff --git a/Metadata/groups.xml b/Metadata/groups.xml index 124f79a..820ad9d 100644 --- a/Metadata/groups.xml +++ b/Metadata/groups.xml @@ -13,6 +13,7 @@ + diff --git a/Python/etc/network/interfaces b/Python/etc/network/interfaces index 2e72127..d0a6883 100644 --- a/Python/etc/network/interfaces +++ b/Python/etc/network/interfaces @@ -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