You can configure Network Interface information using the tools.conf configuration option.

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.