openvswitch-datapath-dkms is no longer needed for 14.04+
This commit is contained in:
+4
-1
@@ -319,6 +319,8 @@ function ovs {
|
||||
return
|
||||
fi
|
||||
|
||||
if [ "$DIST" = "Ubuntu" ] && ! version_ge $RELEASE 14.04; then
|
||||
# Older Ubuntu versions need openvswitch-datapath/-dkms
|
||||
# Manually installing openvswitch-datapath may be necessary
|
||||
# for manually built kernel .debs using Debian's defective kernel
|
||||
# packaging, which doesn't yield usable headers.
|
||||
@@ -328,6 +330,7 @@ function ovs {
|
||||
# Otherwise, install it.
|
||||
$install openvswitch-datapath-dkms
|
||||
fi
|
||||
fi
|
||||
|
||||
$install openvswitch-switch
|
||||
if $install openvswitch-controller; then
|
||||
@@ -343,7 +346,7 @@ function ovs {
|
||||
else
|
||||
echo "Attempting to install openvswitch-testcontroller"
|
||||
if ! $install openvswitch-testcontroller; then
|
||||
echo "Failed - giving up"
|
||||
echo "Failed - skipping openvswitch-testcontroller"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user