This is an old revision of the document!


Vagrant

Vagrant is a tool for building and managing virtual machine environments in a single workflow. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the “works on my machine” excuse a relic of the past.

Homepage: https://www.vagrantup.com
Documentation: https://www.vagrantup.com/docs

Links

Tipps & Tricks

ssh port forward to public ip

Can't connect to linux box - ssh login to local loopback 127.0.0.1 is not working.

Add to Vagrantfile the following

v.ssh_info_public = true


ssh port change

DOC: Vagrant Forwarded Port and do not forget id:"ssh" and clean nat.conf -

Add to Vagrantfile the following

centos.vm.network :forwarded_port, guest: 22, host: 2225, id: "ssh"