Hello, Seems those commands are not part of the main script.
So you could create a new script. ie extra.sh and add a new line to the Vagrantfile ie: config.vm.provision :shell, :path => "extra.sh" Alvaro. On Tue, Feb 23, 2016 at 1:20 AM, valentin bancarel < [email protected]> wrote: > Hi Alvaro, here is the outputs of the two commands you asked, and also the > content of my Vagrantfile and the provisioning script I'm using: > https://gist.github.com/BancarelValentin/67ab99557821c91ce294 > > What I need now, is to run the commands in the "Extra scripts to be run > after folder mount" after that folder is created > > On Monday, 22 February 2016 02:20:05 UTC+1, Alvaro Miranda Aguilera wrote: >> >> Hello, >> >> Well, that is the default user experience, so at somepoint this is not >> working. >> >> Can you share your Vagrantfile? >> >> And also a gist (gist.githun.cob) of the the following output: >> >> vagrant destroy (this will delete the box) >> vagrant up >> >> Thanks! >> Alvaro. >> >> >> On Mon, Feb 22, 2016 at 3:26 AM, valentin bancarel <[email protected] >> > wrote: >> >>> It's exactly what I want except that, this is intended to be run at >>> first "vagrant up" and when the provision script is run the first time, the >>> /vagrant folder isn't mounted yet. >>> >>> -- >>> 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/f44b7d65-438e-4ed5-ac68-ace5f3f02028%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/1aca03fd-da58-4b58-8587-1b2627df9a2f%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/1aca03fd-da58-4b58-8587-1b2627df9a2f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CAHqq0ewNn_%2B9%2BU7OsjniGxJjVOxqbE%3DSNspz_NBN%2B6XVsCb5CQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
