Skip to content

Instantly share code, notes, and snippets.

@janeczku
Created August 18, 2021 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janeczku/824f44577fabe94dfcc5cedef41bc92a to your computer and use it in GitHub Desktop.
Save janeczku/824f44577fabe94dfcc5cedef41bc92a to your computer and use it in GitHub Desktop.
Exclude NICs for reporting VM IP addresses with Open VM / VMware Tools
#cloud-config
write_files:
- path: /etc/vmware-tools/tools.conf
permissions: 0644
content: |
[guestinfo]
# Ref: https://docs.vmware.com/en/VMware-Tools/11.3.0/com.vmware.vsphere.vmwaretools.doc/GUID-ECCF9D01-3666-40CE-B9FD-7EE0738AB5D9.html
exclude-nics=docker*,veth*,flannel*,cni*,calico*,ens193
primary-nics=ens192
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment