fix bug #253 "NetworkManager runs DHCP..." for Ubuntu (but not Fedora/CentOS)
use "vethA.B.SS" name for veth devices (A = node number, B = index, SS = short session ID) use "tapA.B.SS" name for tap devices; use "b.A.SS" name for bridge devices added a SESSION_SHORT environment variable to the default CORE environment (Boeing r1867)
This commit is contained in:
parent
4487767fa4
commit
66ebcb5cf4
5 changed files with 9 additions and 6 deletions
|
@ -45,7 +45,7 @@ killall -q emanetransportd
|
|||
killall -q emaneeventservice
|
||||
|
||||
ifconfig -a | awk '
|
||||
/^n[0-9]+/ {print "removing interface " $1; system("ip link del " $1);}
|
||||
/^veth[0-9]+\./ {print "removing interface " $1; system("ip link del " $1);}
|
||||
/tmp\./ {print "removing interface " $1; system("ip link del " $1);}
|
||||
/gt\./ {print "removing interface " $1; system("ip link del " $1);}
|
||||
/b\./ {print "removing bridge " $1; system("ip link set " $1 " down; brctl delbr " $1);}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue