]> git.proxmox.com Git - pve-container.git/commit
setup: fix alpine ipv6-slaac configuration
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 19 Mar 2019 15:34:27 +0000 (16:34 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 20 Mar 2019 12:47:25 +0000 (13:47 +0100)
commitc09b2996d7486bb3eebdfb55382db3f7207ebb9f
tree307c9d7cef5152143a55bee8956a918e84eadd6c
parent681c80309bef05303e8eb845c77b1a0a484bdb2c
setup: fix alpine ipv6-slaac configuration

busybox ifupdown implementation differs from debian's - configuration type
auto is not supported. If SLAAC is selected for the ipv6 configuration of an
interface, the complete networking is not started, because of that error.

This workaround sets the interface type to 'manual' in case SLAAC is selected
(as is already done for dhcpv6 (for different reasons)). That way all other
configuration stanzas are setup correctly, and if a ipv4 configuration is
present for the same interface the SLAAC-part usually works out of the box
anyways (unless 'accept_ra' is set to 0 for the interface in the kernel).

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PVE/LXC/Setup/Alpine.pm