diff --git a/util/cinc-install.sh b/util/cinc-install.sh index bd413b581..30d56c997 100644 --- a/util/cinc-install.sh +++ b/util/cinc-install.sh @@ -11,7 +11,7 @@ # - improvement in the dpkg installation to avoid conflicts with other running installations. # # When updating this modified file, please remember to bump the version and reference it in the CI/CD. -# - cinc-install.sh v1.3.0 +# - cinc-install.sh v1.4.0 # # WARNING: REQUIRES /bin/bash # @@ -469,7 +469,13 @@ elif test -f "/etc/redhat-release"; then platform=`sed 's/^\(.\+\) release.*/\1/' /etc/redhat-release | tr '[A-Z]' '[a-z]'` platform_version=`sed 's/^.\+ release \([.0-9]\+\).*/\1/' /etc/redhat-release` - if test "$platform" = "xenserver"; then + if test "$platform" = "rocky linux"; then + source /etc/os-release + os="${REDHAT_SUPPORT_PRODUCT}" + platform_version="${ROCKY_SUPPORT_PRODUCT_VERSION}" + platform=$ID + + elif test "$platform" = "xenserver"; then # Current XenServer 6.2 is based on CentOS 5, platform is not reset to "el" server should handle response platform="xenserver" else