Skip to content

Vagrant appliance: Error mounting shared folders #272

@lparsons

Description

@lparsons

When I attempt to start the vagrant appliance I get the following error:

==> default: Mounting shared folders...
    default: /opt/galaxy/tools => /Users/lparsons/Documents/projects/galaxy_tools/tools
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 ubuntu | cut -d: -f3` opt_galaxy_tools /opt/galaxy/tools
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g ubuntu` opt_galaxy_tools /opt/galaxy/tools

The error output from the last command was:

stdin: is not a tty
id: vagrant: no such user
uid= requires an argument (i.e. uid==<arg>)

If I login via vagrant ssh it appears that the default user is ubuntu and not vagrant

$vagrant ssh
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64)

 * Documentation:  https://help.ubuntu.com/
Last login: Fri Jun 26 19:10:30 2015 from wtk-t202-sw1.n.bx.psu.edu
ubuntu@packer-virtualbox-iso-vagrant-1435341877:~$ id -u vagrant
id: vagrant: no such user
ubuntu@packer-virtualbox-iso-vagrant-1435341877:~$ id -u ubuntu
1000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions