Updated VM logic to account for LXC type

This commit is contained in:
Gaunt
2025-07-19 09:34:10 -04:00
parent a6ac3348ca
commit 63014c3bc9

View File

@@ -26,7 +26,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"