1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

Update proxmox versions detection on Distro (#316)

Update proxmox versions detection on Distro
Before change  "Debian GNU/Linux 10"
After change "Debian 10.3/PVE 6.1-8"
This commit is contained in:
FingerlessGloves
2020-07-01 18:27:21 +01:00
committed by GitHub
parent a8cb5b0112
commit e022601f32

View File

@@ -62,6 +62,7 @@ elif [ "${OS}" = "Linux" ] ; then
fi
if [ -f /usr/bin/pveversion ]; then
DIST="${DIST}/PVE `/usr/bin/pveversion | cut -d '/' -f 2`"
IGNORE_OS_RELEASE=1
fi
elif [ -f /etc/gentoo-release ] ; then