DistroInvetory Fixed bug in VM parsing
Bug prevented stoped VM's form being added to the reported
This commit is contained in:
@@ -220,8 +220,8 @@ ParseOSRelease()
|
||||
VERSION="$VERSION ($VERSIONNAME)"
|
||||
fi
|
||||
else
|
||||
DISTRO=N/A
|
||||
VERSION=N/A
|
||||
if [ -z ${DISTRO+x} ]; then local DISTRO=N/A;fi
|
||||
if [ -z ${VERSION+x} ]; then local VERSION=N/A;fi
|
||||
fi
|
||||
echo "$TYPE,$ID,$NAME,$STATUS,$DISTRO,$VERSION" | tee -a $InventoryFile
|
||||
}
|
||||
Reference in New Issue
Block a user