mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-28 13:48:49 +08:00
Added missing distributions to the suse platform family
This commit is contained in:
parent
c637487c2c
commit
84e8e51bf9
@ -281,7 +281,7 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
|
|||||||
family = "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":
|
||||||
family = "rhel"
|
family = "rhel"
|
||||||
case "suse", "opensuse", "sles":
|
case "suse", "opensuse", "opensuse-leap", "opensuse-tumbleweed", "opensuse-tumbleweed-kubic", "sles", "sled", "caasp":
|
||||||
family = "suse"
|
family = "suse"
|
||||||
case "gentoo":
|
case "gentoo":
|
||||||
family = "gentoo"
|
family = "gentoo"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user