]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Update regex for checking 'disable_vmware_customization' flag
authorKruti Pendharkar <kp025370@broadcom.com>
Fri, 11 Jul 2025 12:48:16 +0000 (05:48 -0700)
committerKruti Pendharkar <kp025370@broadcom.com>
Fri, 11 Jul 2025 12:48:16 +0000 (05:48 -0700)
commitca40ebb053edf5dfd2f9fa82bf8a764b04b281bd
treebab0068b36a53b11ec2699cb455b7b6e664af8a6
parent7f6713c1b4ffc8ce12dc2cc58d727c8a6f5489af
Update regex for checking 'disable_vmware_customization' flag

The regex check for "disable_vmware_customization" is too strict and
fails when there are inline comments after the flag. As a result, the
cloud-init workflow doesn't start.
This change is relaxing the check to allow inline comments. Please note
that non-capturing group is not supported by POSIX regex API, using
capturing group here.
open-vm-tools/libDeployPkg/linuxDeploymentUtilities.c