devstack: fix kernel version matching to detect ovs compilation support
The previous check was mistakenly not matching for 3.4+ kernels that support compilation. The ovs 2.5 version delivers stability fixes, apart from features. That's why the fix is expected to fix recent gate failures we started to see. Change-Id: I21749a59a040abc8b9f6a6a6c69f3fa96515962f Closes-Bug: #1621789
This commit is contained in:
parent
ac0c74bbc9
commit
286b55f3bf
@ -38,7 +38,7 @@ function load_module {
|
||||
function is_kernel_supported_for_ovs25 {
|
||||
major=$(uname -r | cut -d\. -f 1)
|
||||
minor=$(uname -r | cut -d\. -f 2)
|
||||
if [ $major -le 4 -a $minor -le 3 ]; then
|
||||
if [ $major -le 4 -o $minor -le 3 ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user