File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1111# - improvement in the dpkg installation to avoid conflicts with other running installations.
1212#
1313# When updating this modified file, please remember to bump the version and reference it in the CI/CD.
14- # - cinc-install.sh v1.3 .0
14+ # - cinc-install.sh v1.4 .0
1515#
1616# WARNING: REQUIRES /bin/bash
1717#
@@ -469,7 +469,13 @@ elif test -f "/etc/redhat-release"; then
469469 platform=` sed ' s/^\(.\+\) release.*/\1/' /etc/redhat-release | tr ' [A-Z]' ' [a-z]' `
470470 platform_version=` sed ' s/^.\+ release \([.0-9]\+\).*/\1/' /etc/redhat-release`
471471
472- if test " $platform " = " xenserver" ; then
472+ if test " $platform " = " rocky linux" ; then
473+ source /etc/os-release
474+ os=" ${REDHAT_SUPPORT_PRODUCT} "
475+ platform_version=" ${ROCKY_SUPPORT_PRODUCT_VERSION} "
476+ platform=$ID
477+
478+ elif test " $platform " = " xenserver" ; then
473479 # Current XenServer 6.2 is based on CentOS 5, platform is not reset to "el" server should handle response
474480 platform=" xenserver"
475481 else
You can’t perform that action at this time.
0 commit comments