Added support build RPM under MSVSphere 9

This commit is contained in:
Alexey Berezhok
2024-03-31 22:35:12 +03:00
parent 346a50856b
commit 34da9e801f
4 changed files with 84 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ type=$(grep "^ID=" /etc/os-release | cut -f 2 -d '"')
VERSION=$type
# TODO: Not sure if condition below is 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