Skip to content

Commit

Permalink
rhel: Fix ovs-kmod-manage.sh to work with RHEL 7.3
Browse files Browse the repository at this point in the history
Add case for RHEL 7.3.  This also fixes commit 22abff2 where I forgot to
update the comp_ver variable for RHEL 7.5 and while I was in there I
updated comp_ver for the RHEL 7.4 case as well.

Fixes: 22abff2 ("rhel: Add case for RHEL 7.5 major version to...")
Reviewed-by: Yifeng Sun <[email protected]>
Signed-off-by: Greg Rose <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
gvrose8192 authored and blp committed Aug 29, 2019
1 parent f92bba1 commit e64c2c1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,19 @@ if [ "$mainline_major" = "3" ] && [ "$mainline_minor" = "10" ]; then
comp_ver=36
ver_offset=4
installed_ver="$minor_rev"
elif [ "$major_rev" = "514" ]; then
# echo "rhel73"
comp_ver=26
ver_offset=4
installed_ver="$minor_rev"
elif [ "$major_rev" = "693" ]; then
# echo "rhel74"
comp_ver=11
comp_ver=21
ver_offset=4
installed_ver="$minor_rev"
elif [ "$major_rev" = "862" ]; then
# echo "rhel75"
comp_ver=11
comp_ver=20
ver_offset=4
installed_ver="$minor_rev"
elif [ "$major_rev" = "957" ]; then
Expand Down

0 comments on commit e64c2c1

Please sign in to comment.