Enable configuring IPv6 early (linux-virt)
I had various titles but this seemed fit.
My initial problem today was being able to configure static IPv6 in /etc/network/interfaces
(with linux-virt/initramfs-virt at edge). I get RTNETLINK answers: Not supported
. Script networking seem to precede modules even though the former has depend() "after modules".
My first thought was to include the module ipv6
in initramfs, to be able to list it in modules=
in cmdline, but then a /etc/mkinitfs/features.d/ipv6.modules
is needed (right?) and perhaps it's excluded from initramfs-virt due to its size (1 meg).
I tried hacking the script init.d/networking
, changing modules dependency from after to need, which works but seem to slow boot down when configuring interfaces.
What would be the way forward here?