aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2019-05-30 17:00:57 +0000
committerGlen Barber <gjb@FreeBSD.org>2019-05-30 17:00:57 +0000
commit885f5b4a472125638716ea7e36bc1d1eb786eecb (patch)
treeef55b80ea0ac6cf14f0098f02cd9d3abd8d4b38f
parent5f0c63b621adad0636845b4364ab49836d102010 (diff)
downloadsrc-885f5b4a472125638716ea7e36bc1d1eb786eecb.tar.gz
src-885f5b4a472125638716ea7e36bc1d1eb786eecb.zip
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
Notes
Notes: svn path=/head/; revision=348439
-rw-r--r--release/tools/vagrant.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/tools/vagrant.conf b/release/tools/vagrant.conf
index 5617b96fa17d..e53432e164da 100644
--- a/release/tools/vagrant.conf
+++ b/release/tools/vagrant.conf
@@ -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