Sha256: 79f80c3dff0efe7b880a3bd68b1bf4256ea2387419e9f9dbbcc8a5e7ff4c8b74
Contents?: true
Size: 699 Bytes
Versions: 6
Compression:
Stored size: 699 Bytes
Contents
require "vagrant-shell" VagrantPlugins::Shell::Plugin.make_provider(:docker) Vagrant.configure("2") do |config| config.vm.box = "<%= node[:vagrant][:box] %>" <% if node[:vagrant][:ssh_username] %> config.ssh.username = "<%= node[:vagrant][:ssh_username] %>" <% end %> <% if node[:vagrant][:ssh_private_key_path] %> config.ssh.private_key_path = "<%= node[:vagrant][:ssh_private_key_path] %>" <% end %> config.vm.synced_folder ".", "/vagrant", :id => "vagrant-root", :disabled => true config.vm.provider :docker do |docker, override| docker.script = docker.find_script(:docker) docker.run_args = [ "<%= node[:vagrant][:shell_args] %>" ] end end # vi: set ft=ruby :
Version data entries
6 entries across 6 versions & 1 rubygems