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

Executing a shell script before anything else #2730

Closed
andreamoro opened this issue Dec 28, 2013 · 2 comments
Closed

Executing a shell script before anything else #2730

andreamoro opened this issue Dec 28, 2013 · 2 comments

Comments

@andreamoro
Copy link

Hello there,

I am hanging around since hours now without success. My challenge is the synced_folder that I would like to create dynamically.
I've created a shell script to create a folder if doesn't exist, however the problem is with vagrant configuration file as it checks for the folder existence before anything else.

Is there any way to set an order how vagrant should run / parse the script or to run my script beforehand?

Thanks

@mitchellh
Copy link
Contributor

Sorry I forgot to document a feature that does this for you. You can see it in the commit referenced in this issue. I'm also doing a docs deploy now. Thanks!

@andreamoro
Copy link
Author

Thanks for this.

@hashicorp hashicorp locked and limited conversation to collaborators Apr 14, 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

2 participants