Hi Everyone.
 
I have set up my virtual box to run Windows 2012 and it boots up fine with 
the Vagrant Up command. I would like to automatically install applications 
on this virtual machine through provisioning, however I am having a tough 
time. I want to start with a simple app, like Notepad ++. I have the 
installer (exe) file on my host machine and I have written a batch file and 
added the path to the vagrant file to run the batch file upon provisioning. 
Every time I do this, however, I get an error saying the path cannot be 
found on the host. I will post my codes below, but does anyone have any 
recommendations as to how to do this easily? Downloading from the Internet 
will be tough, too, as there is a tough corporate proxy. Thanks in advance 
for your help!
 
Codes:
 
In Vagrant File:
 
config.vm.provision :shell, :path => "C:\Vagrant - Copy\install.bat", 
:privileged => false
 
In Batch File:
 
start C:\Vagrant - Copy\NPP.exe

-- 
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