1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

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
This commit is contained in:
Glen Barber 2019-05-30 17:00:57 +00:00
parent 5f0c63b621
commit 885f5b4a47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348439

View File

@ -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