Is your feature request related to a problem? Please describe.
Message: Unknown OS found in /etc/os-release - Please create an issue on GitHub and share the contents (cat /etc/os-release)
Describe the solution you'd like
Can you add support for Kylin V10?
cat /etc/os-release
NAME="Kylin Linux Advanced Server"
VERSION="V10 (Lance)"
ID="kylin"
VERSION_ID="V10"
PRETTY_NAME="Kylin Linux Advanced Server V10 (Lance)"
ANSI_COLOR="0;31"
Required changes
After adding it manually to the include/osdetection file, OS detection went fine.
"sles")
LINUX_VERSION="SLES"
OS_NAME="openSUSE"
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
OS_VERSION_FULL=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
;;
+ "kylin")
+ LINUX_VERSION="Kylin"
+ OS_NAME="Kylin Linux Advanced Server"
+ OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ OS_VERSION_FULL=$(grep "^PRETTY_NAME=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
+ ;;
"ubuntu")
LINUX_VERSION="Ubuntu"
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
OS_VERSION_FULL=$(grep "^VERSION=" /etc/os-release | awk -F= '{print $2}' | tr -d '"')
OS_NAME="Ubuntu"
;;
Is your feature request related to a problem? Please describe.
Message: Unknown OS found in /etc/os-release - Please create an issue on GitHub and share the contents (cat /etc/os-release)
Describe the solution you'd like
Can you add support for Kylin V10?
cat /etc/os-release
Required changes
After adding it manually to the include/osdetection file, OS detection went fine.