Option for nm-initrd-generator to auto-configure IPv6 with stable EUI64?
Hello, I am configuring a Linux box to boot of iSCSI root and using dracut to generate my initrd. The kernel was booted with parameters root=/dev/vg/lv_root ip=dhcp rd.iscsi.initiator=iqn.<redacted> netroot=iscsi:<redacted>
.
I have a local IPv4 DHCP server that assigns a fixed v4 address to this box and uses SLAAC for IPv6. The system will boot with IPv4 DHCP and mount root over iSCSI on IPv4 with no issue. However, the IPv6 address keeps changing across reboots and this disrupts IPv6 access from other nodes on the network. Since the root device is on iSCSI, it is not feasible to bring the connection down and up again after switching root.
At initrd stage, the generated system-connection file in /run/NetworkManager/system-connections
has ipv6.addr-gen-mode=eui64
hardcoded.
Is there a way to specify ip6-privacy=0
or ipv6.addr-gen-mode=eui64
in the early boot stage with nm-initrd-generator
?