Creating a New Vagrant Package Image

kyolee310 edited this page Jul 11, 2013 · 2 revisions

Create a New Vagrant Package Image

Step 1. Have the vagrant instance running with a desired configuration setup

Step 2. Exit from the instance shell

exit

Step 3. From your host shell, run the command below to create a new package

vagrant package

Register the Newly Created Vagrant Package and Run It

Step 1. Be sure that no Vagrant instance is running

vagrant destory

rm ./Vagrantfile

Step 2. Register the newly created package

vagrant box add ui-tester ./package.box

Step 3. Initialize and Run it

vagrant init ui-tester

vagrant up

Step 4. Log in to the instance

vagrant ssh