projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7a77eb
)
(2.10) Fix net-common script in case of routed mode
author
Dimitris Aragiorgis
<dimara@grnet.gr>
Fri, 22 Nov 2013 19:59:42 +0000
(21:59 +0200)
committer
Dimitris Aragiorgis
<dimara@grnet.gr>
Tue, 17 Dec 2013 10:46:44 +0000
(12:46 +0200)
setup_route should run in case or routed mode and not
openvswitch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
tools/net-common.in
patch
|
blob
|
history
diff --git
a/tools/net-common.in
b/tools/net-common.in
index
ee412bd
..
78cf9ba
100644
(file)
--- a/
tools/net-common.in
+++ b/
tools/net-common.in
@@
-65,7
+65,7
@@
function setup_ovs {
}
function setup_route {
- if [ "$MODE" = "openvswitch" ]; then
+ if [ "$MODE" = "routed" ]; then
ip link set $INTERFACE up
if [ -z "$IP" ]; then