Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2019 22:56:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 238226] Vagrant images: Bootstrap not working / The disk is not being resized
Message-ID:  <bug-238226-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238226

            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@FreeBSD.org
          Reporter: dbaio@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@freebsd:~ % uname -UK
        1200510 1200510
vagrant@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@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@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@freebsd:~ # cat /etc/rc.conf
        hostname=3D"freebsd"
        firstboot_freebsd_update_enable=3DYES
        firstboot_pkgs_enable=3DYES
        firstboot_pkgs_list=3D"sudo rsync virtualbox-ose-additions-nox11"
        vboxguest_enable=3D"YES"
        vboxservice_enable=3D"YES"
        ifconfig_DEFAULT=3D"SYNCDHCP"
        sshd_enable=3D"YES"
        sendmail_enable=3D"NO"
        sendmail_submit_enable=3D"NO"
        sendmail_outbound_enable=3D"NO"
        sendmail_msp_queue_enable=3D"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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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