projects
/
snf-network
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a241f90
)
Clear existing binding before adding new
author
Dimitris Aragiorgis
<dimara@grnet.gr>
Sat, 4 Aug 2012 00:31:26 +0000
(
03:31
+0300)
committer
Dimitris Aragiorgis
<dimara@grnet.gr>
Mon, 6 Aug 2012 14:14:25 +0000
(17:14 +0300)
This removes the enrty from nfdhcpd runtime (due to inotify).
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
kvm-vif-bridge
patch
|
blob
|
history
diff --git
a/kvm-vif-bridge
b/kvm-vif-bridge
index
629aaec
..
543259b
100755
(executable)
--- a/
kvm-vif-bridge
+++ b/
kvm-vif-bridge
@@
-42,6
+42,12
@@
function clear_ebtables {
}
+function clear_nfdhcpd {
+
+ rm $NFDHCPD_STATE_DIR/$INTERFACE
+
+}
+
function routed_setup_ipv4 {
@@
-162,6
+168,7
@@
clear_routed_setup_ipv4 > /dev/null 2>&1
clear_routed_setup_ipv6 > /dev/null 2>&1
clear_routed_setup_firewall > /dev/null 2>&1
clear_ebtables > /dev/null 2>&1
+clear_nfdhcpd > /dev/null 2>&1
if [ "$MODE" = "routed" ]; then
TABLE=$LINK