Support iface_name setting for management network (#1739)

Allow setting the interface name that appears on the host for the
management network interface in the guest. This allows for more complex
networking layouts by allowiing matching against devices for vlan
configurations.

Fixes: #1701
This commit is contained in:
Darragh Bailey
2023-05-01 14:12:14 +01:00
committed by GitHub
parent 768e18f086
commit 99ac328621
5 changed files with 57 additions and 1 deletions

View File

@@ -592,6 +592,7 @@ used by this network are configurable at the provider level.
the Libvirt default (1500) will be used.
* `management_network_keep` - Starting from version *0.7.0*, *always_destroy* is set to *true* by default for any network.
This option allows to change this behaviour for the management network.
* `management_network_iface_name` - Allow controlling of the network device name that appears on the host for the management network, same as `:libvirt__iface_name` for public and private network definitions. (unreleased).
* `management_network_model_type` - Model of the network adapter to use for the management interface. Default is 'virtio'.
You may wonder how vagrant-libvirt knows the IP address a VM received. Libvirt