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-.log -# for Windows, and -# /var/log/vmware--.log -# for Linux, MacOS and Solaris. +# /var/log/vmware/-.log # 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 .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/vmware/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/vmware/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/vmware/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/vmware/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/vmware/vmtoolboxcmd-${USER}.log # Enable old VMwareUser/vmware-user logging to file. -#log.file = c:/tmp/vmtools.log +#log.file = /var/log/vmware/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 -