]> git.proxmox.com Git - pve-container.git/commit
fix #2027: do not disable IPV6_AUTOCONF on centos
authorOguz Bektas <o.bektas@proxmox.com>
Thu, 9 May 2019 11:57:29 +0000 (13:57 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 9 May 2019 12:18:14 +0000 (14:18 +0200)
commitbcf2296ae9280e5afe2d882385283807bfc09f54
treeab87b66351b0d9052fbca9e4ae757a4995819737
parent7fa709ec197f55562eab7e515713b588b5158057
fix #2027: do not disable IPV6_AUTOCONF on centos

we used to disable IPV6_AUTOCONF when the DHCP option was chosen for the
container network (was only activated with SLAAC option).

however, this option is actually dependent on IPV6FORWARDING (which is
set to no by default), according to this rule:

IPV6_AUTOCONF=!IPV6FORWARDING

which enables it automatically when forwarding is disabled. this way, we
respect the defaults set by centos.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
src/PVE/LXC/Setup/CentOS.pm
src/test/test-centos6-002/etc/sysconfig/network-scripts/ifcfg-eth0.exp
src/test/test-centos6-002/etc/sysconfig/network-scripts/ifcfg-eth1.exp