[Bug 238226] Vagrant images: Bootstrap not working / The disk is not being resized
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 29 22:56:13 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238226
Bug ID: 238226
Summary: Vagrant images: Bootstrap not working / The disk is
not being resized
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: misc
Assignee: bugs at FreeBSD.org
Reporter: dbaio at freebsd.org
Hi.
Bootstrap is not working anymore, at least in Vagrant virtualbox 12.0-STABLE
and 13-CURRENT.
This started happening after base r346959 (Reduce the default image size for
virtual machine disk images from 30GB to 3GB...)
vagrant at freebsd:~ % uname -UK
1200510 1200510
vagrant at freebsd:~ % df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/rootfs 2.9G 2.6G 35M 99% /
devfs 1.0K 1.0K 0B 100% /dev
root at freebsd:~ # pkg info
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: N
# pkg bootstrap -y
Bootstrapping pkg from
pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest, please wait...
Verifying signature with trusted certificate
pkg.freebsd.org.2013102301... done
Installing pkg-1.10.5_5...
Extracting pkg-1.10.5_5: 100%
# pkg install -y firstboot-freebsd-update firstboot-pkgs sudo rsync
virtualbox-ose-additions-nox11
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 8 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
firstboot-freebsd-update: 1.2
firstboot-pkgs: 1.5
sudo: 1.8.27_1
rsync: 3.1.3
virtualbox-ose-additions-nox11: 5.2.30
gettext-runtime: 0.19.8.1_2
indexinfo: 0.3.1
libiconv: 1.14_11
Number of packages to be installed: 8
The process will require 10 MiB more space.
2 MiB to be downloaded.
pkg: Not enough space in /var/cache/pkg, needed 2239 KiB available -29
MiB
root at freebsd:~ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/rootfs 2.9G 2.7G -29M 101% /
devfs 1.0K 1.0K 0B 100% /dev
root at freebsd:~ # cat /etc/rc.conf
hostname="freebsd"
firstboot_freebsd_update_enable=YES
firstboot_pkgs_enable=YES
firstboot_pkgs_list="sudo rsync virtualbox-ose-additions-nox11"
vboxguest_enable="YES"
vboxservice_enable="YES"
ifconfig_DEFAULT="SYNCDHCP"
sshd_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
There is no growfs_enable in it, probably that is the issue as pointed out in
#232313#c30 .
I am resizing the disk through Vagrantfile.
Regards.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list