Linux stuff

12 thoughts
last posted Feb. 5, 2016, 10:37 a.m.

8 earlier thoughts

0

How to copy a vagrant image to another machine

Copy the ssh key from ~/.vagrant.d/insecure_private_key and append it to the same file on the other machine to be able to log into the machine later.

Next:

vagrant package --base vm-name --output /path/to/mybox.box

Copy file to other machine. Then do:

vagrant init vm-name /path/to/mybox.box
vagrant up

Source: http://stackoverflow.com/questions/19094024/is-there-any-way-to-clone-a-vagrant-box-that-is-already-installed

3 later thoughts