updated vm logic to include lxc

This commit is contained in:
2025-10-30 18:14:47 -04:00
parent c3fd006571
commit f11fc52450

View File

@@ -23,7 +23,7 @@ else
OS_VERSION=$(hostnamectl | awk '/Operating System/ {print $5}') OS_VERSION=$(hostnamectl | awk '/Operating System/ {print $5}')
fi fi
if [ "${VM}" == "vmware" ] || [ "${VM}" == "kvm" ] ; then if [ "${VM}" == "vmware" ] || [ "${VM}" == "kvm" ] || [ "${VM}" == "lxc" ]; then
VM="true" VM="true"
else else
VM="false" VM="false"