dmacvicar / terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt
Apache License 2.0
1.54k stars 457 forks source link

Fix network host entry for IPv6 addresses #937

Open twz123 opened 2 years ago

twz123 commented 2 years ago

https://gitlab.com/libvirt/libvirt/-/blob/v8.1.0/src/conf/network_conf.c#L516-L522 https://libvirt.org/formatnetwork.html#elementsAddress

The IPv6 host element differs slightly from that for IPv4: there is no mac attribute since a MAC address has no defined meaning in IPv6.