Bug#740895: Work-around for netcfg overwriting /etc/network/interfaces after preseed/late_command

2014-03-05 Thread Jeroen Massar
As per http://comments.gmane.org/gmane.linux.debian.user/456234 a little work-around: 8<-- d-i preseed/late_command string \ in-target *DOSTUFF*; \ cp /target/etc/network/interfaces /etc/network/interfaces; -->8 That way it overwrites the netcfg ge

Bug#740896: Disable IPv6 autoconf completely from preseed/netcfg

2014-03-05 Thread Jeroen Massar
Package: netcfg As one cannot easily update /etc/network/interfaces due to netcfg overwriting it after late_command (see also #740895) it would be useful if we can have something akin to: iface eth0 inet static ... pre-up echo 0 > /proc/sys/net/ipv6/conf/eth0/autoconf pre

Bug#740895: Can't configure both IPv4 + IPv6 with preseed

2014-03-05 Thread Jeroen Massar
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