usr/lib/observium_agent/scripts-available/proxmox-qemu aktualisiert

Text bei nicht näher bekannten OS geändert
This commit is contained in:
ageissler
2024-12-30 18:03:13 +01:00
parent 3e5d7465cc
commit fc5a348b59

View File

@@ -33,7 +33,7 @@ for ((i=0; i<$count; i++)); do
if [[ -z "$ostype" || "$ostype" == *"is not running"* || "$ostype" == *"QEMU guest agent configured"* ]]; then
ostype=$var2
if [[ -z "$ostype" ]]; then
ostype="$var3 TOOLS!"
ostype="$var3 (no further information yet)"
fi
else
sed -i "s|$vmid:.*|$vmid:$var1|" $CACHE