Hi, I hope this is what you need please let me know.
it's the vagrantfile, the setup file, the plain output and the debug output.
r
https://gist.github.com/reharik/274369d5953bee400c87
this isn't quite what I have above but it's the result is pretty much the 
same I can recreate above too if you like,
Thanks,
R


On Friday, May 1, 2015 at 2:43:49 AM UTC-5, Alvaro Miranda Aguilera wrote:
>
> hello 
>
> Can you share a gist of your run 
>
> vagrant halt 
> vagrant up --provision 
>
> and other like 
>
> vagrant halt 
>
> VAGRANT_LOG=debug vagrant up --provision 
>
> I will like to have a look 
>
> I tested the first code in OSX and works, so I would like to see the 
> logs from your system 
>
> Thanks 
> Alvaro 
>
> On Fri, May 1, 2015 at 6:45 AM, Raif Harik <[email protected] <javascript:>> 
> wrote: 
> > Hi, just trying to bump this issue. 
> > I have vagrant running in windows. I'm trying to get a script to run 
> after 
> > machine is created. I've tried config.vm.provision both inline and 
> external. 
> > I've run it in debug and there are no errors it simply just exits after 
> it's 
> > done installing the machine 
> > my script looks like this 
> > 
> > # -*- mode: ruby -*- 
> > # vi: set ft=ruby : 
> > 
> > $script = <<SCRIPT 
> > echo I am provisioning... 
> > date > /etc/vagrant_provisioned_at 
> > SCRIPT 
> > 
> > Vagrant.configure("2") do |config| 
> >   config.vm.box = "ubuntu/trusty64" 
> >   config.vm.provision "shell", inline: $script 
> > end 
> > 
> > 
> > the provision part is straight from the docs. I also tried this 
> > 
> > # -*- mode: ruby -*- 
> > # vi: set ft=ruby : 
> > 
> > Vagrant.configure(2) do |config| 
> >   config.vm.box = "ubuntu/trusty64" 
> > end 
> > 
> > $script = <<SCRIPT 
> > echo I am provisioning... 
> > date > /etc/vagrant_provisioned_at 
> > SCRIPT 
> > 
> > Vagrant.configure("2") do |config| 
> >   config.vm.provision "shell", inline: $script 
> > end 
> > 
> > still no dice. It's almost as if it's not running my file but some 
> default 
> > vagrantfile somewhere.  I put echo's in the vagrantfile and they were 
> never 
> > hit, which made me think it was not using my file, but then I changed 
> the 
> > name of the file and it did error out. So I don't know I'm at a loss. 
> I'd be 
> > happy to post parts of my --debug log.  But it does seem as though this 
> > feature is non functional. 
> > Any help would be greatly appreciated. 
> > R 
> > 
> > -- 
> > 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] <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to