You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
895 B
33 lines
895 B
From 38329cd2bc666ffa82b419a882a92f56ed6b44f0 Mon Sep 17 00:00:00 2001
|
|
From: Sergey Cherevko <sergey.cherevko@softline.com>
|
|
Date: Mon, 24 Apr 2023 11:15:44 +0300
|
|
Subject: [PATCH] Added MSVSphere support
|
|
|
|
---
|
|
salt/grains/core.py | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/salt/grains/core.py b/salt/grains/core.py
|
|
index debbeb2..37bd9c6 100644
|
|
--- a/salt/grains/core.py
|
|
+++ b/salt/grains/core.py
|
|
@@ -1565,6 +1565,7 @@ _OS_NAME_MAP = {
|
|
"cloudserve": "CloudLinux",
|
|
"cloudlinux": "CloudLinux",
|
|
"almalinux": "AlmaLinux",
|
|
+ "msvsphere": "MSVSphere",
|
|
"pidora": "Fedora",
|
|
"scientific": "ScientificLinux",
|
|
"synology": "Synology",
|
|
@@ -1602,6 +1603,7 @@ _OS_FAMILY_MAP = {
|
|
"Amazon": "RedHat",
|
|
"CloudLinux": "RedHat",
|
|
"AlmaLinux": "RedHat",
|
|
+ "MSVSphere": "RedHat",
|
|
"OVS": "RedHat",
|
|
"OEL": "RedHat",
|
|
"XCP": "RedHat",
|
|
--
|
|
2.39.2
|
|
|