Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2019 17:00:57 +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: r348439 - head/release/tools
Message-ID:  <201905301700.x4UH0v2K078293@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Thu May 30 17:00:57 2019
New Revision: 348439
URL: https://svnweb.freebsd.org/changeset/base/348439

Log:
  Increase the size of the Vagrant default image size, as the 3GB
  size is too small to bootstrap the firstboot_pkgs list.
  
  While here, add the growfs(8) startup script to /etc/rc.conf,
  as Vagrant images can be resized by modifying the Vagrantfile.
  
  Reported by:	dbaio
  PR:		238226
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/release/tools/vagrant.conf

Modified: head/release/tools/vagrant.conf
==============================================================================
--- head/release/tools/vagrant.conf	Thu May 30 16:49:40 2019	(r348438)
+++ head/release/tools/vagrant.conf	Thu May 30 17:00:57 2019	(r348439)
@@ -3,12 +3,15 @@
 # $FreeBSD$
 #
 
+# The default of 3GB is too small for Vagrant, so override the size here.
+export VMSIZE=8G
+
 # Packages to install into the image we're creating.  This is a deliberately
 # minimalist set, providing only the packages necessary to bootstrap.
 export VM_EXTRA_PACKAGES="firstboot-freebsd-update firstboot-pkgs"
 
 # Set to a list of third-party software to enable in rc.conf(5).
-export VM_RC_LIST="firstboot_freebsd_update firstboot_pkgs"
+export VM_RC_LIST="firstboot_freebsd_update firstboot_pkgs growfs"
 
 vagrant_common () {
 	# The firstboot_pkgs rc.d script will download the repository



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