diff options
author | jirutjak <jirutjak@localhost> | 2020-03-07 22:15:45 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2020-03-07 23:58:06 +0100 |
commit | b2fc363a2f39f3663073d3e285ff45f1b9f67672 (patch) | |
tree | efc704f946de2c07fbf361deafbfae83a5bf1478 /community/open-vm-tools/tools.conf.patch | |
parent | 1d70203cc088344de1d28d25018ce09796287284 (diff) | |
download | aports-b2fc363a2f39f3663073d3e285ff45f1b9f67672.tar.bz2 aports-b2fc363a2f39f3663073d3e285ff45f1b9f67672.tar.xz |
community/open-vm-tools: remove irrelevant stuff from default config
Diffstat (limited to 'community/open-vm-tools/tools.conf.patch')
-rw-r--r-- | community/open-vm-tools/tools.conf.patch | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/community/open-vm-tools/tools.conf.patch b/community/open-vm-tools/tools.conf.patch new file mode 100644 index 0000000000..cec79121d7 --- /dev/null +++ b/community/open-vm-tools/tools.conf.patch @@ -0,0 +1,173 @@ +Remove Windows-only stuff and fix default paths. + +--- a/open-vm-tools/tools.conf ++++ b/open-vm-tools/tools.conf +@@ -65,10 +65,7 @@ + + # Log destinations for various services + # By default, logs go to +-# %windir%/temp/vmware-<servicename>.log +-# for Windows, and + # /var/log/vmware-<servicename>-<username>.log +-# for Linux, MacOS and Solaris. + + # Possible values for handler are: + # file: logs to a file. Set *.data to the file name +@@ -80,7 +77,6 @@ + # std: Logs to stdout for level >= 'message', + # and to stderr for more severe than 'message'. + # syslog: logs to syslog +-# outputdebugstring: uses OutputDebugString (Windows only) + + # If handler is 'syslog' and the OS is Linux, the facility + # can be set with <domain>.facility. The facility value can be one of +@@ -97,33 +93,33 @@ + # Enable tools service logging to a file. + #vmtoolsd.level = debug + #vmtoolsd.handler = file +-#vmtoolsd.data = c:/tmp/vmtoolsd-${USER}.log ++#vmtoolsd.data = /var/log/vmtoolsd-${USER}.log + + # Enable 'vmsvc' service logging to a file. + #vmsvc.level = debug + #vmsvc.handler = file +-#vmsvc.data = c:/tmp/vmsvc.log ++#vmsvc.data = /var/log/vmsvc.log + + # Enable VMwareResolutionSet.exe logging to a file. + # Comment this for Linux guest, sometimes vmusr logs are not generated due + # to this being uncommented + #vmresset.level = debug + #vmresset.handler = file+ +-#vmresset.data = c:/tmp/vmresset.log ++#vmresset.data = /var/log/vmresset.log + + # Enable new "vmusr" service logging to a file. + #vmusr.level = debug + #vmusr.handler = file +-#vmusr.data = c:/tmp/vmusr.${USER}.log ++#vmusr.data = /var/log/vmusr.${USER}.log + + # Set the following configuration if you want to collect the logs for + # vmware-toolbox-cmd utility + #toolboxcmd.level = debug + #toolboxcmd.handler = file +-#toolboxcmd.data = c:/tmp/vmtoolboxcmd-${USER}.log ++#toolboxcmd.data = /var/log/vmtoolboxcmd-${USER}.log + + # Enable old VMwareUser/vmware-user logging to file. +-#log.file = c:/tmp/vmtools.log ++#log.file = /var/log/vmtools.log + + # Enable "hgfsServer" request handling logging to the appropriate service file. + #hgfsServer.level = debug +@@ -158,18 +154,11 @@ + #poweroff-script=poweroff-vm-default + + # Runs when the virtual machine is resumed after it was suspended. +-# On Windows guest operating systems, if the virtual machine is configured to +-# use DHCP, the default script renews the IP address of the virtual machine. +-# On Linux, Mac OS X, Solaris, and FreeBSD guest operating systems, +-# this script starts networking for the virtual machine. ++# This script starts networking for the virtual machine. + #resume-script=resume-vm-default + + # Runs when the virtual machine is being suspended. +-# On Windows guest operating systems, if the virtual machine is configured +-# to use DHCP, the default script releases the IP address of the virtual +-# machine. +-# On Linux, Mac OS X, Solaris, and FreeBSD, this script stops networking for +-# the virtual machine. ++# This script stops networking for the virtual machine. + #suspend-script=suspend-vm-default + + [guestinfo] +@@ -203,8 +192,6 @@ + # Interface names can use wildcards like '*' and '?'. + # Default for Linux and all non-Windows: + #exclude-nics=veth*,docker*,virbr* +-# Default for Windows: +-#exclude-nics=vEthernet* + + # max umber of IPv4 routes to gather. + #max-ipv4-routes=100 +@@ -216,25 +203,10 @@ + #diskinfo-include-reserved=false + + +-[unity] +-# +-# Unity is available for Windows only. +-# +- +-# Set to true to override system decisions about whether unity should be available. +-#forceEnable=false +- +-# Override the desktop background color when in Unity mode. +-#desktop.backgroundColor= +- +-# The socket type can be 'ipsocket' or 'vsocket': +-#pbrpc.socketType +- + [resolutionKMS] + + # Default is true if tools finds an xf86-video-vmware driver with + # version >= 13.2.0. If you don't have X installed, set this to true manually. +-# This only affects tools for Linux. + #enable=true + + [guestosinfo] +@@ -247,12 +219,8 @@ + + [vmbackup] + +-# enableSyncDriver is not available for Windows: + #enableSyncDriver=true + +-# enableVSS is Windows only: +-#enableVSS=true +- + # See https://kb.vmware.com/s/article/2146204 + # can be used to fallback to FS quiescing forcely when there are app quiescing + # problems for specific Windows systems +@@ -261,7 +229,6 @@ + #execScripts=true + #scriptArg= + +-# Linux only + # The value of excludedFileSystems is a comma-separated list of glob-style + # patterns specifying the file systems to be excluded from quiesced snapshots. + # The patterns may use '*' (wildcard) to represent any string of characters +@@ -271,12 +238,8 @@ + #excludedFileSystems= + + # Whether to execute scripts on quiescing. +-# Scripts are executed from /etc/vmware-tools/backupScripts.d on Linux and +-# %installpath%\backupScripts.d on Windows, and the legacy scripts +-# "c:\windows\pre-freeze-script.bat" +-# "c:\windows\post-thaw-script.bat" +-# +-# Linux: ++# Scripts are executed from /etc/vmware-tools/backupScripts.d, ++# and the legacy scripts: + # "/usr/sbin/pre-freeze-script" + # "/usr/sbin/post-thaw-script" + # +@@ -295,17 +258,3 @@ + + # Whether to use vgauth for guest op authentication + #useVGAuth=true +- +-[autoupgrade] +- +-# The autoupgrade plugin is only available for Windows. +- +-# The "allow-upgrade" option controls whether automatic upgrades (or reinstalls) +-# are allowed. The two options "allow-add-feature" and "allow-remove-feature" +-# control whether adding or removing a feature will be allowed. The two latter +-# ones only affect Windows tools. +- +-#allow-upgrade=true +-#allow-add-feature=true +-#allow-remove-feature=true +- |