Ajout de vlan federez dans la génération des int
This commit is contained in:
parent
70bf8712bf
commit
7d99d9d2b4
1 changed files with 9 additions and 0 deletions
|
@ -111,6 +111,15 @@ iface %(interface)s inet static
|
||||||
broadcast 10.52.255.255
|
broadcast 10.52.255.255
|
||||||
mtu 1496""" % { 'interface': interface, 'ip': isolementip() }
|
mtu 1496""" % { 'interface': interface, 'ip': isolementip() }
|
||||||
|
|
||||||
|
elif mode == "federez":
|
||||||
|
print """auto %(interface)s
|
||||||
|
iface %(interface)s inet static
|
||||||
|
address %(ip)s
|
||||||
|
network 10.53.0.0
|
||||||
|
netmask 255.255.0.0
|
||||||
|
broadcast 10.53.255.255
|
||||||
|
mtu 1496""" % { 'interface': interface, 'ip': federezip() }
|
||||||
|
|
||||||
elif mode == "manuel":
|
elif mode == "manuel":
|
||||||
print """auto %(interface)s
|
print """auto %(interface)s
|
||||||
iface %(interface)s inet static""" % { 'interface': interface }
|
iface %(interface)s inet static""" % { 'interface': interface }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue