See local available dist images (they are stored locally around 400mb size they have)
vagrant box list
To create a new vagrant env do this:
vagrant init
Now edit Vagrantfile
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.10"
Also, under /vagrant
the directory in which the Vagrantfile lies gets accessible.
Then we configure a few things in a provision.sh like installing elastic search
See Vagrantfile
and provision.sh
in https://github.com/elifesciences/lens-indexer
Now we are ready.
vagrant up
To reprovision use:
vagrant provision
To login as su (you are logged in as vagrant that has sudo rights):
vagrant ssh
To wipe the images:
vagrant destroy