Comment 6 for bug 1565985

Revision history for this message
Luis Ferro (luis-ferro) wrote : Re: [Bug 1565985] Re: vagrant vb ubuntu/xenial64 cannot mount synced folders

From my tests, the image available on vagrant main source is the exact copy
of ubuntu repo one, which is a basic cloud image in virtualbox format with
no changes whatsoever for vagrant.

What is missing is not just the guest additions, but also the default user
to be vagrant with password vagrant and the ssh key stored to be the
default for vagrant.

Currently, vagrant makes an educated guess, and tries to launch with ubuntu
user (which works and allow us to fix those issues manually).

Not the ideal situation when people want to promote the newest version of
ubuntu.

Cheers,
LF

On Friday, 6 May 2016, Chris Pick <email address hidden> wrote:

> This is a regression, it used to work in the "ubuntu/trusty64" vagrant
> image.
>
> As @styro indicated, the "virtualbox-guest-utils" is not installed in
> "ubuntu/xenial64":
> host$ vagrant init ubuntu/xenial64 && vagrant up && vagrant ssh
> ...
> ubuntu@ubuntu-xenial:~$ dpkg -s virtualbox-guest-utils
> dpkg-query: package 'virtualbox-guest-utils' is not installed and no
> information is available
>
> While it was installed in "ubuntu/trusty64":
> host$ vagrant init ubuntu/trusty64 && vagrant up && vagrant ssh
> ...
> vagrant@vagrant-ubuntu-trusty-64:~$ dpkg -s virtualbox-guest-utils | grep
> Version
> Version: 4.3.36-dfsg-1+deb8u1ubuntu1.14.04.1
>
> Once the package is manually installed in xenial it works just fine.
> However, having a manual installation step breaks Vagrant's automation
> which is one of its most important features.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1565985
>
> Title:
> vagrant vb ubuntu/xenial64 cannot mount synced folders
>
> Status in cloud-images:
> New
>
> Bug description:
> I am unable to fully provision a xenial instance using box
> ubuntu/xenial64 (virtualbox, 20160403.0.0)
> because the synced folders are never mounted.
>
> VAGRANT_LOG=DEBUG vagrant init --debug indicates that there was an error
> mounting the filesystem
> mount: unknown filesystem type 'vboxsf'
>
> I am using
> VirtualBox 5.0.16 r105871
> vagrant 1.8.1
>
> While init/provision fails, the instance is brought up. I can get into
> it and see it runs. It doesn't appear that Virtualbox Guest Additions
> is installed. I can see that my installation of VB does have
> VBoxGuestAdditions.iso and is readable.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cloud-images/+bug/1565985/+subscriptions
>