Bug#740895: Can't configure both IPv4 + IPv6 with preseed
Package: netcfg
The preseed options are:
d-i netcfg/get_ipaddress string IP
d-i netcfg/get_gateway string GW
d-i netcfg/get_netmask string NM
d-i netcfg/get_nameservers string NS
This allows specifying either IPv4 or IPv6, but not both, hence you get
an IPv4-only or an IPv6-only node. While that is pretty good already,
the world will be IPv4 for a long long time to come and IPv6 is really
great to preconfigure.
Hence, one will at the moment need to fix this up with a
preseed/late_command. Unfortunately, it seems that late_command runs
before netcfg overwrites the interfaces file, hence, unless you trick it
all with a very early init script, it won't work...
Either late_command has to go after the netcfg writing of the interfaces
file, or better we should have the option of multiple addresses.
d-i netcfg/get_ipaddress string 192.0.2.2 2001:db8::2
d-i netcfg/get_gateway string 192.0.2.1 2001:db8::1
d-i netcfg/get_netmask string 24 64
d-i netcfg/get_nameservers string 192.0.2.1 2001:db8::1
would be a good start for that.
Greets,
Jeroen
Reply to: