svn commit: r348439 - head/release/tools
Glen Barber
gjb at FreeBSD.org
Thu May 30 17:00:58 UTC 2019
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
More information about the svn-src-all
mailing list