VMwareToolsConf - file /etc/vmware-tools/tools.conf

The VMware tools configuration file /etc/vmware-tools/tools.conf is in the standard ‘ini’ format and is read by the IniConfigFile parser. vmtoolsd.service provided by open-vm-tools package is configured using /etc/vmware-tools/tools.conf.

Sample /etc/vmware-tools/tools.conf file:

[guestinfo]
disable-query-diskinfo = true

[logging]
log = true

vmtoolsd.level = debug
vmtoolsd.handler = file
vmtoolsd.data = /tmp/vmtoolsd.log

Examples

>>> list(conf.sections()) == [u'guestinfo', u'logging']
True
>>> conf.has_option('guestinfo', 'disable-query-diskinfo')
True
>>> conf.getboolean('guestinfo', 'disable-query-diskinfo')
True
>>> conf.get('guestinfo', 'disable-query-diskinfo') == u'true'
True
class insights.parsers.vmware_tools_conf.VMwareToolsConf(context)[source]

Bases: insights.core.IniConfigFile

Class for VMware tool configuration file content.