Shell script `default/scan'

Scan server, detect distro name and version

if command -v "lsb_release" > /dev/null 2>&1; then CLM_DISTRO_NAME=`lsb_release -si 2> /dev/null` CLM_DISTRO_VERSION=`lsb_release -sr 2> /dev/null` else . /etc/os-release CLM_DISTRO_NAME=$NAME CLM_DISTRO_VERSION=$VERSION_ID fi echo $CLM_DISTRO_NAME '|' $CLM_DISTRO_VERSION