diff options
author | Wei Xie <Wei.Xie@citrix.com> | 2017-03-17 17:06:30 +0800 |
---|---|---|
committer | Wei Xie <Wei.Xie@citrix.com> | 2017-03-17 17:06:30 +0800 |
commit | 9ce10132e5a45afa0887c8083ce5e7b75b6fe2cd (patch) | |
tree | 1436e897e08519190fade27bcd9a934c9eac963f | |
parent | f2d4403d87973e6aa809d82302831ad86adf8145 (diff) | |
download | vyos-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-x | mk/xe-linux-distribution | 2 |
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 |