From e64c2c1ea67de94f198ba8a094f5cb37e4cd1179 Mon Sep 17 00:00:00 2001 From: Greg Rose Date: Thu, 29 Aug 2019 11:56:01 -0700 Subject: [PATCH] rhel: Fix ovs-kmod-manage.sh to work with RHEL 7.3 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 Signed-off-by: Greg Rose Signed-off-by: Ben Pfaff --- rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh index 51756ec0c..c5b1d2d40 100644 --- a/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh +++ b/rhel/usr_share_openvswitch_scripts_ovs-kmod-manage.sh @@ -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 -- 2.39.2