summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Xie <Wei.Xie@citrix.com>2017-03-17 17:06:30 +0800
committerWei Xie <Wei.Xie@citrix.com>2017-03-17 17:06:30 +0800
commit9ce10132e5a45afa0887c8083ce5e7b75b6fe2cd (patch)
tree1436e897e08519190fade27bcd9a934c9eac963f
parentf2d4403d87973e6aa809d82302831ad86adf8145 (diff)
downloadvyos-xe-guest-utilities-9ce10132e5a45afa0887c8083ce5e7b75b6fe2cd.tar.gz
vyos-xe-guest-utilities-9ce10132e5a45afa0887c8083ce5e7b75b6fe2cd.zip
CA-244770: Add support for Kylin_Linux 7.2 and Kylin_Linux 6.5
Signed-off-by: Wei Xie <Wei.Xie@citrix.com>
-rwxr-xr-xmk/xe-linux-distribution2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/xe-linux-distribution b/mk/xe-linux-distribution
index a71b5f8..e464240 100755
--- a/mk/xe-linux-distribution
+++ b/mk/xe-linux-distribution
@@ -292,7 +292,7 @@ identify_kylin()
fi
eval $(sed -n -e \
- 's/^NeoKylin Linux Advanced Server release \([0-9]*\)\.\([0-9]*\) (.*)$/distro=neokylin;major=\1;minor=\2;/gp;' \
+ 's/^NeoKylin Linux Advanced Server release V*\([0-9]*\)\D*\([0-9]*\).*$/distro=neokylin;major=\1;minor=\2;/gp;' \
"${kylin_release}")
if [ -z "${major}" -o -z "${distro}" ] ; then