Skip to content

v1.3.0

Choose a tag to compare

@ahze ahze released this 21 Nov 11:50
· 5 commits to main since this release
v1.3.0
9e64a8b

1.3.0

netavark

The same script now also works as a network driver for podman's netavark
backend. Installed in a netavark plugin directory it gives a container
what it gets under CNI: an epair on your bridge, MAC, VLAN, MTU, and a DHCP
lease when podman passes no address.

install -m 555 epair /usr/local/libexec/netavark/epair
podman network create -d epair --interface-name lanbridge --ipam-driver none lan

Called the CNI way nothing changes. See the README's netavark section.

Changed: the lease's DNS server is opt-in

1.2.2 began returning the DHCP lease's DNS server. On a container that is
also on a network with name resolution, the runtime then writes two DNS
servers into resolv.conf in no fixed order, and with the LAN's server first
the other containers' names do not resolve.

The lease's server is now returned only when the network asks for it:
"leaseDns": true in a conflist, --opt lease_dns=true under netavark.
Without it a container gets what 1.2.1 gave it. If you relied on the 1.2.2
behavior, add the key.