New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrant appliance: Error mounting shared folders #272

Closed
lparsons opened this Issue Jul 13, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@lparsons
Copy link
Contributor

lparsons commented Jul 13, 2015

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
@chambm

This comment has been minimized.

Copy link
Contributor

chambm commented Jul 21, 2015

Just came here to report the exact same error. +1

@jmchilton jmchilton closed this in 0b041d4 Jul 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment