add ipv6-privacy-extensions

This commit is contained in:
Tobias Powalowski 2023-09-21 07:30:55 +02:00
parent 2f741107a8
commit 6f359094f9
4 changed files with 15 additions and 1 deletions

View file

@ -17,6 +17,7 @@ Environment:
- updated nvim lastplace plugin
- removed custom systemd-sysusers.service
- use noto-fonts as default ttf-font in Xorg and Wayland
- enabled ipv6 privacy extensions globally
defaults:
- removed SERVER_PUBLIC usage
login:
@ -32,6 +33,7 @@ setup:
- updated UKI routine to use new ukify syntax with ukify.conf
- enabled windowkeys in autoconfiguration
- fixed neovim installation
- enabled ipv6-privacy-extensions in autoconfiguration
custom-bash-options.sh:
- only run remote-login.sh on archboot environment
---

View file

@ -41,6 +41,12 @@ _auto_network()
if [[ -e "/etc/profile.d/proxy.sh" ]]; then
cp /etc/profile.d/proxy.sh "${_DESTDIR}"/etc/profile.d/proxy.sh
fi
# enable ipv6 privacy extensions
if ! [[ -d ${_DESTDIR}/etc/systemd/network.conf.d ]]; then
mkdir -p "${_DESTDIR}/etc/systemd/network.conf.d"
cp /etc/systemd/network.conf.d/ipv6-privacy-extensions.conf \
"${_DESTDIR}"/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf
fi
sleep 2
}

View file

@ -8,7 +8,11 @@ build ()
map add_binary ip getent ping
add_file /usr/bin/archboot-network.sh /usr/bin/network
# start dhcpcd on startup
add_file "/usr/share/archboot/net/etc/systemd/network/10-wired-auto-dhcp.network" "/etc/systemd/network/10-wired-auto-dhcp.network"
add_file /usr/share/archboot/net/etc/systemd/network/10-wired-auto-dhcp.network \
/etc/systemd/network/10-wired-auto-dhcp.network
# ipv6 privacy extensions
add_file /usr/share/archboot/net/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf \
/etc/systemd/network.conf.d/ipv6-privacy-extensions.conf
}
help ()

View file

@ -0,0 +1,2 @@
[Network]
IPv6PrivacyExtensions=yes