Sha256: 6f56e0aa7cd4ba6330a2a51106fc8cb17b213da3a04cd51e03e8aeaf422a9dec

Contents?: true

Size: 740 Bytes

Versions: 6

Compression:

Stored size: 740 Bytes

Contents

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure 2 do |config|
  config.vm.box = 'hashicorp/precise64'

  name = %x[basename `git rev-parse --show-toplevel`].chomp
  config.vm.define "#{name}_vagrant_box"

  # private_ip = "192.168.13.37"
  # config.vm.network(:private_network, :ip => private_ip)

# TODO free me from the bonds of this ip
  config.vm.network 'forwarded_port', guest: 80, host: 8080
  config.vm.network 'private_network', type: 'dhcp'

  config.ssh.insert_key = false
  config.ssh.shell = 'bash -c "BASH_ENV=/etc/profile exec bash"'

  config.vm.provision :shell, inline: <<-SCRIPT
    sudo su
    mkdir ~/.ssh/
    cp /home/vagrant/.ssh/authorized_keys ~/.ssh/
    chmod 600 ~/.ssh/authorized_keys
  SCRIPT
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
taperole-1.1.3 Vagrantfile
taperole-1.1.2 Vagrantfile
taperole-1.1.1 Vagrantfile
taperole-1.1.0 Vagrantfile
taperole-1.0.1 Vagrantfile
taperole-1.0.0 Vagrantfile