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

Provisioning before mounting shared folders #2701

Closed
javornikolov opened this issue Dec 21, 2013 · 4 comments
Closed

Provisioning before mounting shared folders #2701

javornikolov opened this issue Dec 21, 2013 · 4 comments

Comments

@javornikolov
Copy link

It would be good to have some control on the order of vagrant steps: in particular - ability to do some provisioning before mounting shared/synced folders.

E.g. - I want to be able to have nfs::client recipe executed before the moment of mounting nfs-based vagrant shares.

(Similar case has been briefly discussed in #2668 but yet I cannot find guidelines on how to handle the issue cleanly).

@mitchellh
Copy link
Contributor

You can specify the auto_mount: false option which will not mount the folders, then you can mount them manually later in a provisioning script.

@nicksloan
Copy link

@mitchellh Are you sure about this? GitHub can't seem to find "auto_mount" anywhere in the source. I am interested in the same behavior for VirtualBox shared folders. AFAIK, auto_mount isn't a mount option for NFS types either.

@RSully
Copy link

RSully commented Dec 17, 2014

Related: #936

@sethvargo
Copy link
Contributor

@nicksloan the key is disabled now.

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

No branches or pull requests

5 participants