mirror of
https://github.com/acepanel/helper.git
synced 2026-02-04 06:43:15 +08:00
feat: 支持opencloudos
This commit is contained in:
@@ -91,7 +91,7 @@ func (d *detector) detectOS() types.OSType {
|
||||
return types.OSDebian
|
||||
case "ubuntu":
|
||||
return types.OSUbuntu
|
||||
case "rhel", "centos", "rocky", "almalinux", "fedora", "tencentos":
|
||||
case "rhel", "centos", "rocky", "almalinux", "fedora", "tencentos", "opencloudos":
|
||||
return types.OSRHEL
|
||||
default:
|
||||
// 检查ID_LIKE
|
||||
|
||||
Reference in New Issue
Block a user