Hello, You can use:
put the scripts in the directory where you vagrant is, say script.sh then, you can use an script inline, and use "sh /vagrant/script.sh" Hope this helps Alvaro. On Wed, Sep 30, 2015 at 12:56 PM, Adam Chou <[email protected]> wrote: > I'm running a secured box that has /tmp, /home, and /var mounted with the > noexec option. This is causing problems for the shell provisioner since it > can't run the temporary scripts it creates in /tmp. I thought about trying > to upload it somewhere else that doesn't have those restrictions, like /opt, > but the vagrant user doesn't seem to have anywhere else they can upload the > file to. Are there any suggestions on how to work past this hurdle? Thanks. > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in violation > of those guidelines may result in your removal from this mailing list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/801f8425-79ca-43ae-8797-2931083b72b7%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewwFRqXNFDy_MxAiGV%2Bg6P571jnUHZWoxvhT-sZTvOE0w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
