[alpine initramfs] tempaddr fix not necessary anymore

This commit is contained in:
Nico Schottelius 2020-10-18 09:48:07 +02:00
parent 4d348ab724
commit 9ceb2a29ba

View file

@ -84,16 +84,6 @@ echo rm -rf "$rootfs_tmpdir"
exit 0 exit 0
# Servers have static addresses, disable the standard
# alpine setting of using tempaddr = 2
sudo tee "$rootfs_tmpdir/etc/sysctl.d/99-ipv6.conf" <<EOF
net.ipv6.conf.default.use_tempaddr = 0
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.all.accept_ra = 1
EOF
sudo tee "$rootfs_tmpdir/etc/hostname" <<EOF sudo tee "$rootfs_tmpdir/etc/hostname" <<EOF
alpine-unconfigured alpine-unconfigured
EOF EOF