1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/community/open-vm-tools/tools.conf.patch
2020-12-05 02:08:53 +01:00

189 lines
6.2 KiB
Diff

From: Jakub Jirutka <jakub@jirutka.cz>
Date: Sat, 7 Mar 2020 22:30:30 +0100
Subject: [PATCH] Remove Windows-only stuff and fix default paths
--- a/open-vm-tools/tools.conf
+++ b/open-vm-tools/tools.conf
@@ -67,10 +67,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.
+# /var/log/vmware/<servicename>-<username>.log
# Possible values for handler are:
# file: logs to a file. Set *.data to the file name
@@ -82,7 +79,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
@@ -99,33 +95,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
@@ -160,18 +156,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]
@@ -205,8 +194,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
@@ -238,25 +225,10 @@
# Set to true to disable the servicediscovery plugin.
#disabled=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]
@@ -269,12 +241,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
@@ -283,31 +251,18 @@
#execScripts=true
#scriptArg=
-# Linux:
# 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
# and '?" (joker) to represent any single character. Note that the characters
# represented by these patters, '*' and '?" may include any characters,
# including '/'
-#
-# Windows:
-# The value of excludedFileSystems is a comma-separated list of mount points
-# specifying the volumes to be excluded from quiesced snapshots.
-# Each mount point must be a full path separated and ended with "\\".
-# to exclude volumes with drive letter E and mount point F:\mount\, set below
-# excludedFileSystems= E:\\,F:\\mount\\
-# This option only applies when app quiescing doesn't take effect.
#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"
#
@@ -327,19 +282,6 @@
# 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
-
[deployPkg]
# to disable guest customization