Skip to content

Commit add9158

Browse files
committed
fix some kylin linux bug
1 parent 434cc29 commit add9158

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

host/host_linux.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
205205
} else if lsb.ID == "LinuxMint" {
206206
platform = "linuxmint"
207207
version = lsb.Release
208+
} else if lsb.ID == "Kylin" {
209+
platform = "Kylin"
210+
version = lsb.Release
208211
} else {
209212
if common.PathExistsWithContents("/usr/bin/raspi-config") {
210213
platform = "raspbian"

0 commit comments

Comments
 (0)