aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2023-02-12 21:26:52 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2023-02-26 22:22:32 +0000
commit13524c57726a4bf14a92ecde6f5cccbda5152751 (patch)
tree3e084f6440b8a5403148f225ecae8b1d316a52db
parent123ca9ab11896f356245537ee41207fb6943fccd (diff)
downloadsrc-13524c57726a4bf14a92ecde6f5cccbda5152751.tar.gz
src-13524c57726a4bf14a92ecde6f5cccbda5152751.zip
MFC: ARM release build: enable IPv6 SLAAC by default
When building ARM release images, enable IPv6 SLAAC by default in addition to IPv4 DHCP. Unlike amd64 (and other desktop/server) releases, ARM releases on SoC setups are usually deployed by just using the installation image, so there is no interactive network configuration. Not having IPv6 included by default is kind of an anachronism these days, given that FreeBSD with the KAME project once pioneered IPv6 technology. (cherry picked from commit 57228a49333505aebbc992f3799819667630f255)
-rw-r--r--release/tools/arm.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/tools/arm.subr b/release/tools/arm.subr
index d07dbb41b48b..5159907d9689 100644
--- a/release/tools/arm.subr
+++ b/release/tools/arm.subr
@@ -218,7 +218,7 @@ arm_install_base() {
local hostname
hostname="$(echo ${KERNEL} | tr '[:upper:]' '[:lower:]')"
echo "hostname=\"${hostname}\"" > ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
- echo 'ifconfig_DEFAULT="DHCP"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
+ echo 'ifconfig_DEFAULT="DHCP inet6 accept_rtadv"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
echo 'sshd_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
echo 'sendmail_enable="NONE"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
echo 'sendmail_submit_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf