You can exclude network interfaces from GuestInfo and set primary and low priority network interfaces. The configuration option is added to the tools.conffile.

Exclude specific interfaces from GuestInfo

To exclude specific interfaces from GuestInfo, set the option exclude-nics to a comma separated list of network interfaces.

Example
[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*
This configuration ensures that any address in the interfaces matching eth* is sorted at the bottom of the list of IP addresses.
Note: After the limit of the number of interfaces to be reported is reached, low priority interfaces are the first to be skipped.