From 47d48d3875bcca24c3338aa143e1822adbd5b67a Mon Sep 17 00:00:00 2001 From: gjb Date: Sun, 28 May 2017 03:59:33 +0000 Subject: MFC r318872: Enable DHCP and IPv6 autoconfig on non-cloud VM images. PR: 203653 Sponsored by: The FreeBSD Foundation --- release/tools/vmimage.subr | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'release') diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr index 6c3916e..fe937de 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 } -- cgit v1.1