Date: Thu, 25 May 2017 12:53:49 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r318872 - head/release/tools Message-ID: <201705251253.v4PCrnfP014936@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gjb Date: Thu May 25 12:53:49 2017 New Revision: 318872 URL: https://svnweb.freebsd.org/changeset/base/318872 Log: Enable DHCP and IPv6 autoconfig on non-cloud VM images. PR: 203653 MFC after: 3 days Sponsored by: The FreeBSD Foundation Modified: head/release/tools/vmimage.subr Modified: head/release/tools/vmimage.subr ============================================================================== --- head/release/tools/vmimage.subr Thu May 25 12:04:23 2017 (r318871) +++ head/release/tools/vmimage.subr Thu May 25 12:53:49 2017 (r318872) @@ -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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705251253.v4PCrnfP014936>