Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Dupart
openvswitch
Commits
afd63709
Commit
afd63709
authored
Mar 30, 2019
by
Jonathan Dupart
Browse files
Use ip instead of ifconfig in ifupdown.sh (Closes: #918320).
This is a partial revert of
650fce2f
. Thanks: Jose Luis Tallon
parent
cfa7f09d
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/ifupdown.sh
View file @
afd63709
...
...
@@ -57,24 +57,24 @@ if [ "${MODE}" = "start" ]; then
"
${
IFACE
}
"
${
IF_OVS_OPTIONS
}
\
${
OVS_EXTRA
+--
$OVS_EXTRA
}
i
fconfig
"
${
IFACE
}
"
up
i
p
link set
"
${
IFACE
}
"
up
;;
OVSIntPort
)
ovs_vsctl
--
--may-exist
add-port
"
${
IF_OVS_BRIDGE
}
"
\
"
${
IFACE
}
"
${
IF_OVS_OPTIONS
}
--
set
Interface
"
${
IFACE
}
"
\
type
=
internal
${
OVS_EXTRA
+--
$OVS_EXTRA
}
i
fconfig
"
${
IFACE
}
"
up
i
p
link set
"
${
IFACE
}
"
up
;;
OVSBond
)
ovs_vsctl
--
--fake-iface
add-bond
"
${
IF_OVS_BRIDGE
}
"
\
"
${
IFACE
}
"
${
IF_OVS_BONDS
}
${
IF_OVS_OPTIONS
}
\
${
OVS_EXTRA
+--
$OVS_EXTRA
}
i
fconfig
"
${
IFACE
}
"
up
i
p
link set
"
${
IFACE
}
"
up
for
slave
in
${
IF_OVS_BONDS
}
do
i
fconfig
"
${
slave
}
"
up
i
p
link set
"
${
IFACE
}
"
up
done
;;
OVSPatchPort
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment