Sha256: 2c0886c14504ef6c9f7532030e29b8bf0a1a24c0aaf8258e736d7773052a2ecc
Contents?: true
Size: 680 Bytes
Versions: 1
Compression:
Stored size: 680 Bytes
Contents
require "vagrant-shell" VagrantPlugins::Shell::Plugin.make_provider(:docker) Vagrant.configure("2") do |config| config.vm.box = "vagrant-shell" config.ssh.username = "root" config.ssh.private_key_path = "#{ENV['HOME']}/.vagrant.d/insecure_private_key" %w(ubuntu:precise ubuntu:quantal).each do |release| config.vm.define release.to_sym do |guest| guest.vm.provider :docker .to_sym do |shell, override| shell.image = release shell.script = File.expand_path("../../../libexec/shell-docker", __FILE__) shell.run_args = [ "bash -c '#{shell.read_script(File.expand_path("../libexec/init-docker", __FILE__))}'" ] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-shell-0.2.8 | demo/docker/Vagrantfile |