updated vm logic

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

View File

@@ -22,16 +22,11 @@ else
OS_VERSION=$(hostnamectl | awk '/Operating System/ {print $5}') OS_VERSION=$(hostnamectl | awk '/Operating System/ {print $5}')
fi fi
if [ "${VIRTUALIZATION}" == "vmware" ]; then if [ "${VIRTUALIZATION}" == "vmware" ] || [ "${VIRTUALIZATION}" == "kvm" ]; then
VM="true" VM="true"
else else
VM="false" VM="false"
fi fi
if [ "${VIRTUALIZATION}" == "kvm" ]; then
KVM="true"
else
KVM="false"
fi
# set custom bash settings system wide # set custom bash settings system wide
cat <<EOF > /etc/profile.d/gaunt_custom_bash.sh cat <<EOF > /etc/profile.d/gaunt_custom_bash.sh