On Sun, Jan 15, 2017 at 02:43:45PM -0800, Josh Triplett wrote:
> Package: netcfg
> Severity: wishlist
> 
> netcfg provides an option to completely disable all automatic
> configuration, but no option to disable ipv6 autoconfig (SLAAC) while
> leaving DHCP enabled.  Putting ipv6.disable=1 on the kernel command line
> will cause netcfg to realize the network has no ipv6, but only after
> waiting a similar timeout for a link-local address, defeating the
> purpose.
> 
> Please either detect disabled ipv6 and skip those steps, or provide a
> command-line option to disable ipv6 in netcfg.
> 
> (Context: repeatedly testing preseed installs in a virtual machine, and
> I don't want to keep waiting on ipv6 autoconfig timing out.)
>

From what I've read, ipv6.disable=1 hasn't been sufficient for quite
some time, and one requires something like the following in
/etc/sysctl.d/:

00-disable-ipv6.conf:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

Cheers,
Nicholas

Attachment: signature.asc
Description: Digital signature

Reply via email to