From c3fd0065711b5bb9d986e7e2d1ea9083c62e4541 Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Thu, 30 Oct 2025 18:14:31 -0400 Subject: [PATCH] updated vm logic --- update.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/update.sh b/update.sh index 2290533..1ba79b9 100644 --- a/update.sh +++ b/update.sh @@ -22,16 +22,11 @@ else OS_VERSION=$(hostnamectl | awk '/Operating System/ {print $5}') fi -if [ "${VIRTUALIZATION}" == "vmware" ]; then +if [ "${VIRTUALIZATION}" == "vmware" ] || [ "${VIRTUALIZATION}" == "kvm" ]; then VM="true" else VM="false" fi -if [ "${VIRTUALIZATION}" == "kvm" ]; then - KVM="true" -else - KVM="false" -fi # set custom bash settings system wide cat < /etc/profile.d/gaunt_custom_bash.sh