Set IPv6AcceptRA in CT Network Config

Sep 2, 2018
13
5
3
I have a container sitting on a network with DHCPv4 and v6. Setting a static v4 address disables DHCPv4. Setting a static v6 address, does not. Per the systemd documentation, I need to set "IPv6AcceptRA=false" in the [network] section of the interface config do disable DHCPv6 addressing.

Setting this manually works fine. However, it does not survive a reboot. Ideally, there would be a simple checkbox in the CT network config to enable/disable IPv6AcceptRA. Short of that, is there a way to inject that statement into the interface configuration at boot?

https://www.freedesktop.org/software/systemd/man/systemd.network.html#IPv6AcceptRA=