Skip to content

Commit e563e63

Browse files
authored
Merge pull request #1356 from N1neSun/patch-1
fix some kylin linux bug
2 parents 0494d7f + add9158 commit e563e63

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
@@ -207,6 +207,9 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
207207
} else if lsb.ID == "LinuxMint" {
208208
platform = "linuxmint"
209209
version = lsb.Release
210+
} else if lsb.ID == "Kylin" {
211+
platform = "Kylin"
212+
version = lsb.Release
210213
} else {
211214
if common.PathExistsWithContents("/usr/bin/raspi-config") {
212215
platform = "raspbian"

0 commit comments

Comments
 (0)