Merge pull request #1106 from odinje/host-platform_family_rocky
Ensure rhel platform family for Rocky Linux
This commit is contained in:
commit
5fe3154cd3
|
@ -279,7 +279,7 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
|
|||
family = "debian"
|
||||
case "fedora":
|
||||
family = "fedora"
|
||||
case "oracle", "centos", "redhat", "scientific", "enterpriseenterprise", "amazon", "xenserver", "cloudlinux", "ibm_powerkvm":
|
||||
case "oracle", "centos", "redhat", "scientific", "enterpriseenterprise", "amazon", "xenserver", "cloudlinux", "ibm_powerkvm", "rocky":
|
||||
family = "rhel"
|
||||
case "suse", "opensuse", "opensuse-leap", "opensuse-tumbleweed", "opensuse-tumbleweed-kubic", "sles", "sled", "caasp":
|
||||
family = "suse"
|
||||
|
|
|
@ -283,7 +283,7 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
|
|||
family = "debian"
|
||||
case "fedora":
|
||||
family = "fedora"
|
||||
case "oracle", "centos", "redhat", "scientific", "enterpriseenterprise", "amazon", "xenserver", "cloudlinux", "ibm_powerkvm":
|
||||
case "oracle", "centos", "redhat", "scientific", "enterpriseenterprise", "amazon", "xenserver", "cloudlinux", "ibm_powerkvm", "rocky":
|
||||
family = "rhel"
|
||||
case "suse", "opensuse", "opensuse-leap", "opensuse-tumbleweed", "opensuse-tumbleweed-kubic", "sles", "sled", "caasp":
|
||||
family = "suse"
|
||||
|
|
Loading…
Reference in New Issue