Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2017 03:59:33 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r319032 - in stable: 10/release/tools 11/release/tools
Message-ID:  <201705280359.v4S3xXOW077689@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Sun May 28 03:59:33 2017
New Revision: 319032
URL: https://svnweb.freebsd.org/changeset/base/319032

Log:
  MFC r318872:
   Enable DHCP and IPv6 autoconfig on non-cloud VM images.
  
  PR:		203653
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/release/tools/vmimage.subr
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/release/tools/vmimage.subr
Directory Properties:
  stable/11/   (props changed)

Modified: stable/10/release/tools/vmimage.subr
==============================================================================
--- stable/10/release/tools/vmimage.subr	Sun May 28 03:58:36 2017	(r319031)
+++ stable/10/release/tools/vmimage.subr	Sun May 28 03:59:33 2017	(r319032)
@@ -151,6 +151,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?201705280359.v4S3xXOW077689>