.sh file not working while vagrant provision

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

.sh file not working while vagrant provision

Mayank Suthar
Hi all,

While Vagrant provisioning for a .sh file, it simply displays the name of the file rather than running that script by opening the file on the guest machine. 
Thanks in Advance.


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/52a30fdc-a397-4c57-84e7-c14433a8dfd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: .sh file not working while vagrant provision

Alvaro Miranda Aguilera
share Vagrantfile and the script.

The scripts are meant to be run, if the script doesn't show output, then is ok to not show output.

Vagrant will copy the file, set execution and run it.

Alvaro.


On Thu, Jun 22, 2017 at 8:11 AM, Mayank Suthar <[hidden email]> wrote:
Hi all,

While Vagrant provisioning for a .sh file, it simply displays the name of the file rather than running that script by opening the file on the guest machine. 
Thanks in Advance.


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/52a30fdc-a397-4c57-84e7-c14433a8dfd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ewmBP8HnjNg-umpLvsKH86EeGu0VOGWaq3MRcj-UoPnNA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.