[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Vagrant kfreebsd base box?


FYI I drafted a kfreebsd-amd64 Vagrant base box. I hope to polish it
and propose pull request but not sure when so feel free to take the
lead on this if you want.

(The idea is that kfreebsd-* Vagrant boxes would help contributions to
the kfrebsd-* ports by developers hacking on GNU/kFreeBSD only

Code is available at

It builds box but a late step fails trying to mount some kind of
shared folder specific to VirtualBox - maybe the option
`"guest_additions_mode": "disable"` does not work in packer?
$ packer --version

Sample error log output below.


$ make oldstable-kfreebsd-amd64-test
==> default: Mounting shared folders...
    default: /vagrant =>
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut
-d: -f3` vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant

The error output from the last command was:

stdin: is not a tty
mount: vagrant : No such device

make: *** [oldstable-kfreebsd-amd64-test] Error 1

Reply to: