Sha256: bc7c937558a878e37d5b894c6cc1bd76dadc6a70324cb66d1740505116af6305
Contents?: true
Size: 719 Bytes
Versions: 2
Compression:
Stored size: 719 Bytes
Contents
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure 2 do |config| config.vm.box = "ubuntu/xenial64" name = %x[basename `git rev-parse --show-toplevel`].chomp.gsub(/[^0-9a-z ]/i, '') config.vm.define "#{name}_vagrant_box" config.vm.hostname = "#{name}" private_ip = "192.168.13.37" config.vm.network(:private_network, :ip => private_ip) config.vm.network 'forwarded_port', guest: 443, host: 8080 config.vm.network 'private_network', type: 'dhcp' config.ssh.shell = 'bash -c "BASH_ENV=/etc/profile exec bash"' config.vm.provision :shell, inline: <<-SCRIPT sudo su mkdir -p ~/.ssh/ cp /home/ubuntu/.ssh/authorized_keys ~/.ssh/ chmod 600 ~/.ssh/authorized_keys SCRIPT end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
taperole-1.7.1 | Vagrantfile |
taperole-1.7.0 | Vagrantfile |