Skip to content

Commit 05a4794

Browse files
authored
Set NIC type explicit (#665)
1 parent b3d7017 commit 05a4794

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/controllers/machine_controller_nics.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,9 @@ func providerNetworkInterfaceToLibvirt(name string, nic *providernetworkinterfac
460460
Alias: &libvirtxml.DomainAlias{
461461
Name: networkInterfaceAlias(name),
462462
},
463+
Model: &libvirtxml.DomainInterfaceModel{
464+
Type: "virtio",
465+
},
463466
Source: &libvirtxml.DomainInterfaceSource{
464467
Direct: &libvirtxml.DomainInterfaceSourceDirect{
465468
Dev: nic.Direct.Dev,

0 commit comments

Comments
 (0)