summaryrefslogtreecommitdiff
path: root/release/tools
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2017-05-25 12:53:49 +0000
committerGlen Barber <gjb@FreeBSD.org>2017-05-25 12:53:49 +0000
commitf8e26d73e1381ab1a259063308cf8271e54ae1cb (patch)
treeb22bba646500666f2d703ccad444c90ac22064b6 /release/tools
parentced98d784ba3ac8e6f4cc2d31d3c0d842c6fdd90 (diff)
downloadsrc-test2-f8e26d73e1381ab1a259063308cf8271e54ae1cb.tar.gz
src-test2-f8e26d73e1381ab1a259063308cf8271e54ae1cb.zip
Notes
Diffstat (limited to 'release/tools')
-rw-r--r--release/tools/vmimage.subr5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index 6c3916e333e7..fe937defc27a 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -157,6 +157,11 @@ vm_extra_enable_services() {
done
fi
+ if [ -z "${VMCONFIG}" -o -c "${VMCONFIG}" ]; then
+ echo 'ifconfig_DEFAULT="DHCP inet6 accept_rtadv"' >> \
+ ${DESTDIR}/etc/rc.conf
+ fi
+
return 0
}