Ajout de vlan federez dans la génération des int

This commit is contained in:
Gabriel Detraz 2015-05-13 21:35:40 +02:00 committed by Pierre-Elliott Bécue
parent 70bf8712bf
commit 7d99d9d2b4

View file

@ -111,6 +111,15 @@ iface %(interface)s inet static
broadcast 10.52.255.255
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":
print """auto %(interface)s
iface %(interface)s inet static""" % { 'interface': interface }