|
|
|
@ -61,7 +61,7 @@ elif [ -e "/etc/os-release" ] && [ -e "/etc/redhat-release" ]; then
|
|
|
|
|
type=$(grep "^ID=" /etc/os-release | cut -f 2 -d '"')
|
|
|
|
|
VERSION=$type
|
|
|
|
|
# TODO: Not sure if this required
|
|
|
|
|
if [[ "$type" =~ ^(rhel|almalinux|eurolinux|ol|rocky|centos)$ ]]; then
|
|
|
|
|
if [[ "$type" =~ ^(rhel|almalinux|eurolinux|ol|rocky|centos|msvsphere)$ ]]; then
|
|
|
|
|
release=$(rpm --eval='%rhel')
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|