Vmware tools

From UVOO Tech Wiki
Revision as of 22:39, 12 August 2021 by Busk (talk | contribs)
Jump to navigation Jump to search

Exclude Nics for Docker & LXD

/etc/vmware-tools/tools.conf - https://kb.vmware.com/s/article/78111

[guestinfo]
exclude-nics=veth*,virbr*,lxd*

Restart service

sudo systemctl restart open-vm-tools.service

https://docs.vmware.com/en/VMware-Tools/11.2.5/com.vmware.vsphere.vmwaretools.doc/GUID-ECCF9D01-3666-40CE-B9FD-7EE0738AB5D9.html

[guestinfo]
exclude-nics=docker*,veth*
The configuration will exclude all interfaces with the names matching the patterns docker* and veth* from GuestInfo.
Set primary and low priority interfaces
The options primary-nicsand low-priority-nics accept a list of comma separated patterns for interface names which are considered as primary or low priority network interfaces. This will cause the interface information to be put on top of the list for primary interfaces, and to the bottom for low priority interfaces.

Example
[guestinfo]
primary-nics=eth1
The configuration ensures that the IP address for eth1 will be sorted on top of the list of IP addresses.
Example
[guestinfo]
primary-nics=eth*
This configuration ensures that any address in the interfaces matching eth* is sorted on top of the list of IP addresses.

Example
[guestinfo]
low-priority-nics=eth*