Skip to content

Commit

Permalink
rhel: Add case for RHEL 7.5 major version to kmod manage script
Browse files Browse the repository at this point in the history
A Centos 7.5 kernel with an unencountered set of minor build numbers
caused an upgrade bug.  Adding the case for the rhel 7.5 kmod management
script fixes the problem.

Signed-off-by: Greg Rose <[email protected]>
Reviewed-by: Yifeng Sun <[email protected]>
Signed-off-by: Gurucharan Shetty <[email protected]>
  • Loading branch information
gvrose8192 authored and shettyg committed Aug 28, 2019
1 parent 9c74b57 commit 22abff2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ if [ "$mainline_major" = "3" ] && [ "$mainline_minor" = "10" ]; then
comp_ver=11
ver_offset=4
installed_ver="$minor_rev"
elif [ "$major_rev" = "862" ]; then
# echo "rhel75"
comp_ver=11
ver_offset=4
installed_ver="$minor_rev"
elif [ "$major_rev" = "957" ]; then
# echo "rhel76"
comp_ver=10
Expand Down

0 comments on commit 22abff2

Please sign in to comment.