[interfaces] Ajout d'un mode configuration manuelle
Ignore-this: 11a2a219c279dae2146ed2890a595dd0 darcs-hash:20090421164610-ffbb2-26922ac05108a20b43f8084c9bf73af9175d2aeb.gz
This commit is contained in:
parent
69e10a607b
commit
3f07f0105c
1 changed files with 4 additions and 0 deletions
|
@ -75,6 +75,10 @@ iface %(interface)s inet static
|
|||
broadcast 10.52.255.255
|
||||
mtu 1496""" % { 'interface': interface, 'ip': isolementip() }
|
||||
|
||||
elif mode == "manuel":
|
||||
print """auto %(interface)
|
||||
iface %(interface)s inet static""" % { 'interface': interface }
|
||||
|
||||
else:
|
||||
raise NotImplementedError, "Mode de réseau inconnu : %s" % mode
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue