Sha256: 465e7dff38a1740c84733a5ade012005ec92d5e54bd745120a7c65dcb37f8180
Contents?: true
Size: 740 Bytes
Versions: 7
Compression:
Stored size: 740 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: 443, 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
7 entries across 7 versions & 1 rubygems