B
B
Blade Runner2014-07-22 10:07:03
virtual box
Blade Runner, 2014-07-22 10:07:03

Vagrant package box - how to correctly copy the current state of the system?

There is a configured environment.
I do:
vagrant package --output=workenv.box
I copy the file to another computer, delete the environment first, then:
vagrant box add 'workenv' workenv.box
And it's still not clear what kind of environment is obtained. There are no new files and no new databases.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Emets, 2015-09-08
@ingvarr_music

vagrant box add --name workenv workenv.box
Next vagrant init workenv && vagrant up
Either copy the contents of the Vagrantfile, making sure that
config.vm.box = "workenv"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question