Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

`path` for shell provisioner does not exist on the host system:

Vagrant.configure("2") do |config|

  config.vm.box = "ubuntu/xenial64"

  dir = File.expand_path("..", __FILE__)
  puts "DIR: #{dir}"

  config.vm.provision "shell", path: File.join(dir, "script.sh")

end
Source by github.com #
 
PREVIOUS NEXT
Tagged: #shell #provisioner #exist #host
ADD COMMENT
Topic
Name
2+4 =