From: Oliver Kurth Date: Tue, 17 Mar 2020 21:36:54 +0000 (-0700) Subject: Provide a switch in VMTools configuration to disable guest customization. X-Git-Tag: stable-11.1.0~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22aecd9eb691f0e3bf19f7b343b6a9e0e5b7b296;p=thirdparty%2Fopen-vm-tools.git Provide a switch in VMTools configuration to disable guest customization. Header file change: adding error enumerations. --- diff --git a/open-vm-tools/lib/include/vmware/guestrpc/deploypkg.h b/open-vm-tools/lib/include/vmware/guestrpc/deploypkg.h index 82319921d..8953e0976 100644 --- a/open-vm-tools/lib/include/vmware/guestrpc/deploypkg.h +++ b/open-vm-tools/lib/include/vmware/guestrpc/deploypkg.h @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2006-2019 VMware, Inc. All rights reserved. + * Copyright (C) 2006-2020 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -40,12 +40,13 @@ typedef enum { typedef enum { TOOLSDEPLOYPKG_ERROR_SUCCESS = 0, - TOOLSDEPLOYPKG_ERROR_NOT_SUPPORT, // Old tools do not support option - TOOLSDEPLOYPKG_ERROR_PKG_NOT_FOUND, // Specified pkg is not found + TOOLSDEPLOYPKG_ERROR_NOT_SUPPORT, // Old tools do not support option + TOOLSDEPLOYPKG_ERROR_PKG_NOT_FOUND, // Specified pkg is not found TOOLSDEPLOYPKG_ERROR_RPC_INVALID, TOOLSDEPLOYPKG_ERROR_COPY_FAILED, TOOLSDEPLOYPKG_ERROR_DEPLOY_FAILED, - TOOLSDEPLOYPKG_ERROR_CUST_SCRIPT_DISABLED // User defined script is disabled + TOOLSDEPLOYPKG_ERROR_CUST_SCRIPT_DISABLED, // User defined script is disabled + TOOLSDEPLOYPKG_ERROR_CUST_DISABLED // Guest customization is disabled } ToolsDeployPkgError; #define QUERY_NICS_SUPPORTED "queryNicsSupported"