Updated cxcheck for vm to be kmv or lxc

This commit is contained in:
2024-07-10 17:57:20 +00:00
parent 9c674c99f4
commit 8f1377d786

View File

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