diff --git a/lib/yeoman/templates/Vagrantfile b/lib/yeoman/templates/Vagrantfile index 107f0da0..ae97908f 100644 --- a/lib/yeoman/templates/Vagrantfile +++ b/lib/yeoman/templates/Vagrantfile @@ -7,7 +7,6 @@ Vagrant.configure("2") do |config| # Every Vagrant virtual environment requires a box to build off of. config.vm.box = "ubuntu/trusty64" - config.ssh.insert_key = false # Configure 1GB (1024MB) of memory config.vm.provider :virtualbox do |vb| @@ -22,14 +21,9 @@ Vagrant.configure("2") do |config| box.vm.network :private_network, ip: "<%= props.ip %>" box.vm.network :forwarded_port, guest: 22, id: 'ssh', host: <%= props.ip.split('.').join('').split('0').join('').slice(-4) %>, auto_correct: true - box.ssh.forward_agent = true - # Remount the default shared folder as NFS for caching and speed box.vm.synced_folder ".", "/vagrant", :nfs => true - # Mount local SSH keys for deployments - box.vm.synced_folder "~/.ssh", "/home/vagrant/.ssh" - # Provision local.<%= props.domain %> box.vm.provision :ansible do |ansible| ansible.playbook = "lib/ansible/provision.yml"