diff --git a/Python/etc/network/interfaces b/Python/etc/network/interfaces index cf67373..be8f6e0 100644 --- a/Python/etc/network/interfaces +++ b/Python/etc/network/interfaces @@ -28,7 +28,7 @@ iface %(interface)s inet static dns-nameservers 138.231.136.10 138.231.136.9 138.231.136.3 dns-search crans.org""" % { 'interface': interface, 'ip': pubip() } - elif mode == "adm": + elif mode == "adm": print """auto %(interface)s iface %(interface)s inet static address %(ip)s @@ -39,7 +39,7 @@ iface %(interface)s inet static dns-nameservers 10.231.136.10 138.231.136.9 10.231.136.3 dns-search adm.crans.org""" % { 'interface': interface, 'ip': admip() } - elif mode == "radin": + elif mode == "radin": print """auto %(interface)s iface %(interface)s inet static address %(ip)s @@ -48,7 +48,7 @@ iface %(interface)s inet static broadcast 10.42.255.255 mtu 1496""" % { 'interface': interface, 'ip': radinip() } - elif mode == "accueil": + elif mode == "accueil": print """auto %(interface)s iface %(interface)s inet static address %(ip)s @@ -57,7 +57,7 @@ iface %(interface)s inet static broadcast 10.51.255.255 mtu 1496""" % { 'interface': interface, 'ip': accueilip() } - elif mode == "ens": + elif mode == "ens": print """auto %(interface)s iface %(interface)s inet static address %(ip)s @@ -66,7 +66,7 @@ iface %(interface)s inet static broadcast 10.2.9.255 mtu 1496""" % { 'interface': interface, 'ip': appt_ens_ip() } - elif mode == "isolement": + elif mode == "isolement": print """auto %(interface)s iface %(interface)s inet static address %(ip)s