Network config V2 -> V1 conversion: handle accept-ra#786
Conversation
|
Hey @ajmyyra , it looks like you were using I wind up with: Does this accomplish what you're looking for? |
|
Hi! Having accept_ra instead of accept-ra seems to be a mistake from my part. Thank for noticing, I'll change it to a correct one! I'm trying to achieve similar config that "ipv6_dhcpv6-stateless" produces in v1. So an interface with both dhcp6 and accept-ra would result in the following ENI configuration: This is a special case with DHCPv6 where address is autoconfigured through router advertisements and other items (DNS servers, routes etc) are then fetched from DHCP. Netplan knows what to do with just by setting dhcp6 and accept-ra as true, but ENI isn't quite that sophisticated. |
|
Admitting my mistake, @TheRealFalcon. :) Turns out newer Debian's with ENI (as well as CoreOS, if that's still counted) explicitly need that configured with DHCP and accept_ra specified below. Modified the commit for only adding the accept-ra as is, and not using the specific stateless config option. I'll check if I've just made the same accept_ra mistake originally, with the correct one working just fine. |
|
Yup, originally made mistake that caused the issue, not a bug in cloud-init. Sorry for the trouble! |
Handle accept_ra in network config conversion
Network config V2 -> V1 conversion: handle accept-ra
Checklist: