On 10/09/2025 at 21:37, Jonathan Leroy wrote:
I provision servers at different hosting providers using preseeding. Some of
them have a dual-stack (DHCPv4 + Static IPv6) network connection, others are
IPv6-only (static too).
If I run the installer using the following command-line parameters, only the IPv6
networking is configured ("iface eth0 inet dhcp" missing from
/etc/network/interfaces):
(...)
If I remove « netcfg/disable_autoconfig » from the command-line above, only the
IPv4 is configured in /etc/network/interfaces.
I am afraid this in a limitation in netcfg, with or without preseeding.
As far as I can see, autoconfiguration tries to automatically configure
both IPv4 and IPv6 and ignores static parameters; disabling it allows to
configure either IPv4 or IPv6 with static parameters, but not both.
There are no per-address family automatic/static configuration settings.