mirror of
https://github.com/librenms/librenms-agent.git
synced 2024-05-09 09:54:52 +00:00
Added Proxmox VE Versoin support
This commit is contained in:
@ -59,7 +59,10 @@ elif [ "${OS}" = "Linux" ] ; then
|
|||||||
if [ "${ID}" = "Raspbian" ] ; then
|
if [ "${ID}" = "Raspbian" ] ; then
|
||||||
DIST="Raspbian `cat /etc/debian_version`"
|
DIST="Raspbian `cat /etc/debian_version`"
|
||||||
fi
|
fi
|
||||||
|
if [ -f /usr/bin/pveversion ]; then
|
||||||
|
DIST="${DIST}/PVE `/usr/bin/pveversion | cut -d '/' -f 2`"
|
||||||
|
fi
|
||||||
|
|
||||||
elif [ -f /etc/gentoo-release ] ; then
|
elif [ -f /etc/gentoo-release ] ; then
|
||||||
DIST="Gentoo"
|
DIST="Gentoo"
|
||||||
REV=$(tr -d '[[:alpha:]]' </etc/gentoo-release | tr -d " ")
|
REV=$(tr -d '[[:alpha:]]' </etc/gentoo-release | tr -d " ")
|
||||||
|
Reference in New Issue
Block a user