Make NIC model type for management interface configurable (#1711)

This change adds a configuration option for setting the NIC model type for
the management interface, which defaults to `virtio` (the current value)

The context for this change is that I was having severe speed issues
with `virtio` (which have now disappeared, probably after a QEMU update)
and the `e1000e` NIC was doing much better.
This commit is contained in:
Arjen Verstoep
2023-01-22 15:23:47 +00:00
committed by GitHub
parent 0d2b2fcd02
commit 81ea287835
3 changed files with 7 additions and 0 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_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
doesn't provide a standard way to find out the IP address of a running domain.