Skip to content
Snippets Groups Projects
Commit 5d6fda93 authored by Bob Lantz's avatar Bob Lantz
Browse files

Add openvswitch-datapath-dkms if no datapath installed.

parent c1a6ae2b
No related branches found
No related tags found
No related merge requests found
......@@ -237,6 +237,12 @@ function ovs {
# Otherwise try distribution's OVS packages
if [ "$DIST" = "Ubuntu" ] && [ `echo "$RELEASE >= 11.10" | bc` = 1 ]; then
if ! dpkg --get-selections | grep openvswitch-datapath; then
# If you've already installed a datapath, assume you
# know what you're doing and don't need dkms datapath.
# Otherwise, install it.
$install openvswitch-datapath-dkms
fi
if $install openvswitch-switch openvswitch-controller; then
return
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment