usr/lib/observium_agent/scripts-available/proxmox-qemu aktualisiert
Text bei nicht näher bekannten OS geändert
This commit is contained in:
@@ -33,7 +33,7 @@ for ((i=0; i<$count; i++)); do
|
|||||||
if [[ -z "$ostype" || "$ostype" == *"is not running"* || "$ostype" == *"QEMU guest agent configured"* ]]; then
|
if [[ -z "$ostype" || "$ostype" == *"is not running"* || "$ostype" == *"QEMU guest agent configured"* ]]; then
|
||||||
ostype=$var2
|
ostype=$var2
|
||||||
if [[ -z "$ostype" ]]; then
|
if [[ -z "$ostype" ]]; then
|
||||||
ostype="$var3 TOOLS!"
|
ostype="$var3 (no further information yet)"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
sed -i "s|$vmid:.*|$vmid:$var1|" $CACHE
|
sed -i "s|$vmid:.*|$vmid:$var1|" $CACHE
|
||||||
|
|||||||
Reference in New Issue
Block a user