Shell provisioner doesn't work with my permissions
26 views
Skip to first unread message
Adam Chou
unread,
Sep 29, 2015, 7:56:38 PM9/29/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vagrant
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.
Alvaro Miranda Aguilera
unread,
Oct 6, 2015, 5:57:53 AM10/6/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vagra...@googlegroups.com
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"