First thanks for the quick reply, second sorry about the stupid typo, I was 
really hoping that was it but I still get the same result, I'm pasting the 
end part here.  There is an error occuring but I believe this happens 
whether I try and run a script or not.  That could still be it but thought 
I'd mention it.
thanks,
R

Installing the Window System drivers
Could not find the X.Org or XFree86 Window System, skipping.
An error occurred during installation of VirtualBox Guest Additions 4.3.26. 
Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
stdin: is not a tty
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
    default: /vagrant => C:/Development/vagrant_docker




On Monday, April 27, 2015 at 10:11:07 PM UTC-5, Alvaro Miranda Aguilera 
wrote:
>
> Hello 
>
> I tried your vagrantfile and I got an error. 
>
> so not sure if yours is starting?? or why mine is not working 
>
> the error is missing an = in s.path 
>
> # -*- mode: ruby -*- 
> # vi: set ft=ruby : 
> Vagrant.configure(2) do |config| 
>   config.vm.box = "ubuntu/trusty64" 
>   config.vm.synced_folder "./", "/vagrant_share", create: true 
>   config.vm.provision "shell" do |s| 
>     s.path = "provision/setup.sh" 
>   end 
> end 
>
>
> So, after the shares are mount, it run the script and I can see the echo: 
>
> ==> default: Mounting shared folders... 
>     default: /vagrant => /Volumes/hd1/Dropbox/vagrant_mini/trusty64 
>     default: /vagrant_share => /Volumes/hd1/Dropbox/vagrant_mini/trusty64 
> ==> default: Running provisioner: shell... 
>     default: Running: 
> /var/folders/_h/d14sw7c55ds3qr05nnp6ckhc0000gn/T/vagrant-shell20150428-22140-1cr0tc6.sh
>  
>
> ==> default: stdin: is not a tty 
> ==> default: hello 
>
>
>
>
>
> On Tue, Apr 28, 2015 at 2:31 PM, Raif Harik <[email protected] 
> <javascript:>> wrote: 
> > Hi, pretty new to vagrant. 
> > Running vagrant -> virtualbox on windows 
> > I have a simple vagrantfile like this 
> > # -*- mode: ruby -*- 
> > # vi: set ft=ruby : 
> > 
> > 
> > Vagrant.configure(2) do |config| 
> >   config.vm.box = "ubuntu/trusty64" 
> >   config.vm.synced_folder "./", "/vagrant_share", create: true 
> > 
> >   config.vm.provision "shell" do |s| 
> >     s.path "provision/setup.sh" 
> >   end 
> > end 
> > 
> > Not sure if I need the two first lines. probably not.  But anyway, 
> > 
> > the provision/setup.sh reads 
> > #!/bin/bash 
> > 
> > echo "Provisioning virtual machine..." 
> > 
> > when I vagrant up and I search the output I don't find my echo.  I know 
> that 
> > with vagrant up provisioning only runs the first time, this is the first 
> > time plus I've run it with vagrant reload --provision.  I've tried just 
> > doing config.vm.provision "docker" and that never loads. I must be doing 
> > something wrong. 
> > Any ideas would be greatly appreciated. 
> > Thanks, 
> > 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