Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2017 15:12:15 +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-11@freebsd.org
Subject:   svn commit: r326264 - in stable: 10/release/tools 11/release/tools
Message-ID:  <201711271512.vARFCFqT098997@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Mon Nov 27 15:12:14 2017
New Revision: 326264
URL: https://svnweb.freebsd.org/changeset/base/326264

Log:
  MFC r326068:
   Remove /etc/resolv.conf from virtual machine images, which is
   copied from the build host.  It is renamed to /etc/resolv.conf.bak
   on boot, so never used anyway.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/11/release/tools/ec2.conf
  stable/11/release/tools/gce.conf
  stable/11/release/tools/vagrant-virtualbox.conf
  stable/11/release/tools/vagrant-vmware.conf
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/release/tools/ec2.conf
  stable/10/release/tools/gce.conf
  stable/10/release/tools/vagrant-virtualbox.conf
  stable/10/release/tools/vagrant-vmware.conf
Directory Properties:
  stable/10/   (props changed)

Modified: stable/11/release/tools/ec2.conf
==============================================================================
--- stable/11/release/tools/ec2.conf	Mon Nov 27 15:11:47 2017	(r326263)
+++ stable/11/release/tools/ec2.conf	Mon Nov 27 15:12:14 2017	(r326264)
@@ -90,5 +90,7 @@ vm_extra_pre_umount() {
 	# * firstboot_pkgs (install packages)
 	touch ${DESTDIR}/firstboot
 
+	rm -f ${DESTDIR}/etc/resolv.conf
+
 	return 0
 }

Modified: stable/11/release/tools/gce.conf
==============================================================================
--- stable/11/release/tools/gce.conf	Mon Nov 27 15:11:47 2017	(r326263)
+++ stable/11/release/tools/gce.conf	Mon Nov 27 15:12:14 2017	(r326264)
@@ -89,5 +89,7 @@ EOF
 
 	touch ${DESTDIR}/firstboot
 
+	rm -f ${DESTDIR}/etc/resolv.conf
+
 	return 0
 }

Modified: stable/11/release/tools/vagrant-virtualbox.conf
==============================================================================
--- stable/11/release/tools/vagrant-virtualbox.conf	Mon Nov 27 15:11:47 2017	(r326263)
+++ stable/11/release/tools/vagrant-virtualbox.conf	Mon Nov 27 15:12:14 2017	(r326264)
@@ -15,4 +15,5 @@ vm_extra_pre_umount () {
 
 	# Setup the Vagrant common items
 	vagrant_common
+	rm -f ${DESTDIR}/etc/resolv.conf
 }

Modified: stable/11/release/tools/vagrant-vmware.conf
==============================================================================
--- stable/11/release/tools/vagrant-vmware.conf	Mon Nov 27 15:11:47 2017	(r326263)
+++ stable/11/release/tools/vagrant-vmware.conf	Mon Nov 27 15:12:14 2017	(r326264)
@@ -19,4 +19,5 @@ vm_extra_pre_umount () {
 
 	# Setup the Vagrant common items
 	vagrant_common
+	rm -f ${DESTDIR}/etc/resolv.conf
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711271512.vARFCFqT098997>