Addendum to previous commit
This patch is an addendum to the previous commit and adds support for
VMX_GUESTINFO to the dscheck file.
diff --git a/dscheck_VMwareGuestInfo.sh b/dscheck_VMwareGuestInfo.sh
index fc3a6eb..f9d6e87 100644
--- a/dscheck_VMwareGuestInfo.sh
+++ b/dscheck_VMwareGuestInfo.sh
@@ -33,6 +33,14 @@
# PATH and named dscheck_VMwareGuestInfo.
#
+if [ -n "${VMX_GUESTINFO}" ]; then
+ if [ -n "${VMX_GUESTINFO_METADATA}" ] || \
+ [ -n "${VMX_GUESTINFO_USERDATA}" ] || \
+ [ -n "${VMX_GUESTINFO_VENDORDATA}" ]; then
+ exit 0
+ fi
+fi
+
if ! command -v vmtoolsd >/dev/null 2>&1; then
exit 1
fi