Sha256: 8a023ed8da6d2b3ba22b1c463f8f3096f564c79e6c9c62d0f33ea3c1aa61c41b

Contents?: true

Size: 739 Bytes

Versions: 17

Compression:

Stored size: 739 Bytes

Contents

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

Vagrant.configure 2 do |config|
  config.vm.box = 'ubuntu/trusty64'

  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 -p ~/.ssh/
    cp /home/vagrant/.ssh/authorized_keys ~/.ssh/
    chmod 600 ~/.ssh/authorized_keys
  SCRIPT
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
taperole-1.4.3 Vagrantfile
taperole-1.4.2 Vagrantfile
taperole-1.4.1 Vagrantfile
taperole-1.4.0 Vagrantfile
taperole-1.3.6 Vagrantfile
taperole-1.3.5 Vagrantfile
taperole-1.3.4 Vagrantfile
taperole-1.3.3 Vagrantfile
taperole-1.3.2 Vagrantfile
taperole-1.3.1 Vagrantfile
taperole-1.3.0 Vagrantfile
taperole-1.2.8 Vagrantfile
taperole-1.2.7 Vagrantfile
taperole-1.2.6 Vagrantfile
taperole-1.2.5 Vagrantfile
taperole-1.2.4 Vagrantfile
taperole-1.2.3 Vagrantfile