Sha256: ce57e1ffdfd30f8d839955924267cc396ae55dbb2bc4334e1f5a2ba1d54847f4

Contents?: true

Size: 825 Bytes

Versions: 5

Compression:

Stored size: 825 Bytes

Contents

#!/usr/bin/env ruby

Vagrant::Config.run do |config|
  ssh_key = File.read(File.expand_path("~/.ssh/id_rsa.pub"))

  config.vm.box = "precise64"
  config.vm.box_url = "http://files.vagrantup.com/#{config.vm.box}.box"
  config.vm.network :hostonly, "192.168.6.66"

  config.vm.provision :shell, :inline => "test -d /etc/skel/.ssh || mkdir /etc/skel/.ssh"
  config.vm.provision :shell do |shell|
    shell.inline = "echo $@ | tee /etc/skel/.ssh/authorized_keys"
    shell.args = ssh_key
  end
  config.vm.provision :shell do |shell|
    shell.path = File.expand_path("../script/bootstrap.sh", __FILE__)
    shell.args = `whoami`.chomp
  end
  config.vm.provision :shell, :inline => "bash -lc 'rvm use --install --default ruby-1.9.3'"
  config.vm.provision :shell, :inline => "bash -lc 'gem install chef --no-rdoc --no-ri'"
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
soloist-1.0.3 Vagrantfile
soloist-1.0.2 Vagrantfile
soloist-1.0.1 Vagrantfile
soloist-rvm-0.0.1 Vagrantfile
soloist-1.0.0 Vagrantfile