Fixed Typo's in DistroInventory.sh and relead functions
This commit is contained in:
@@ -28,7 +28,7 @@ if $CheckVM; then
|
||||
NAME=$(pct config $ID | grep hostname |sed 's/hostname: //')
|
||||
if [ $STATUS == "running" ]; then OSRELEASE=$(pct exec $ID -- cat /etc/os-release);fi
|
||||
ParseOSRelease
|
||||
unset OSRELEASE TYPE ID NAME STATUS DISTRO VERSION
|
||||
unset OSRELEASE ID NAME STATUS DISTRO VERSION
|
||||
done
|
||||
unset TYPE
|
||||
fi
|
||||
@@ -41,7 +41,7 @@ if $CheckCT; then
|
||||
NAME=$(qm config $ID | grep name |sed 's/name: //')
|
||||
if [ $STATUS == "running" ]; then OSRELEASE=$(qm guest exec 2002 -- cat /etc/os-release |jq -r '.["out-data"]')
|
||||
ParseOSRelease
|
||||
unset OSRELEASE TYPE ID NAME STATUS DISTRO VERSION
|
||||
unset OSRELEASE ID NAME STATUS DISTRO VERSION
|
||||
done
|
||||
unset TYPE
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user