Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions util/cinc-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down Expand Up @@ -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
Expand Down
Loading