[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Dual-stack preseeding



Hi all, 

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):

[...]/linux [...] netcfg/disable_autoconfig=true netcfg/get_ipaddress=2a01:XXXX:XXXX:YYYY::1 netcfg/get_netmask=ffff:ffff:ffff:ffff:: netcfg/get_gateway=fe80::1 netcfg/get_nameservers="2a01:XXXX:ffff::1 2a01:XXXX:ffff::2" netcfg/confirm_static=true url=https://boot.example.com preseed-md5=XXX [...]

If I remove « netcfg/disable_autoconfig » from the command-line above, only the IPv4 is configured in /etc/network/interfaces.

Is there a way to configure a dual-stack network interface using preseeding whitout relying on things like a custom script run by preseed/late_command?

Thanks, 

-- 
Jonathan Leroy


Reply to: