Skip to content
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

Leaving guest path empty leads to an error #4833

Closed
casr opened this issue Nov 16, 2014 · 4 comments
Closed

Leaving guest path empty leads to an error #4833

casr opened this issue Nov 16, 2014 · 4 comments

Comments

@casr
Copy link

casr commented Nov 16, 2014

From #936 it was recommended that with VirtualBox Shared Folders you could disable the auto mounting by Vagrant by blanking out the guest path. This is mentioned in the source here:

https://github.com/mitchellh/vagrant/blob/v1.6.5/plugins/providers/virtualbox/synced_folder.rb#l54-l57

However, before we even get to that stage I'm coming up against a "guest path must be absolute" error over here:

https://github.com/mitchellh/vagrant/blob/v1.6.5/plugins/kernel_v2/config/vm.rb#l555-l557

What should I do?

(Some background: I'm trying to provision a box with Ansible. This sets up a user and I would like the Shared Folder mount to be owned by that user. So, like the referenced issue, this needs to be post the provisioning stage)

@sethvargo
Copy link
Contributor

Hi @casr,

Please ask these types of questions on the Vagrant mailing list. Thank you!

@mitchellh
Copy link
Contributor

Actually I think you're right this is a bug.

@mitchellh
Copy link
Contributor

Fixed

@casr
Copy link
Author

casr commented Jul 12, 2015

Fantastic! Thank you!

@ghost ghost locked and limited conversation to collaborators Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants