Small improvement to vagrant file 24/1024/2
authorEd Warnicke <[email protected]>
Fri, 6 May 2016 17:58:31 +0000 (12:58 -0500)
committerDave Barach <[email protected]>
Sat, 7 May 2016 12:58:55 +0000 (12:58 +0000)
Change-Id: Ia85ed0ef55cb5da118289667d7b217d8890d487e
Signed-off-by: Ed Warnicke <[email protected]>
build-root/vagrant/Vagrantfile

index 4c720de..06063e3 100644 (file)
@@ -11,11 +11,11 @@ Vagrant.configure(2) do |config|
     config.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
   end
 
-  config.vm.provision :shell, :path => "update.sh"
-  config.vm.provision :shell, :path => "build.sh", :args => "/vpp vagrant"
-  config.vm.provision :shell, :path => "install.sh", :args => "/vpp"
-  config.vm.provision :shell, :path => "clearinterfaces.sh"
-  config.vm.provision :shell, :path => "run.sh"
+  config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"update.sh")
+  config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"build.sh"), :args => "/vpp vagrant"
+  config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"install.sh"), :args => "/vpp"
+  config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"clearinterfaces.sh")
+  config.vm.provision :shell, :path => File.join(File.dirname(__FILE__),"run.sh")
 
   # Add .gnupg dir in so folks can sign patches
   # Note, as gnupg puts socket files in that dir, we have