Credit where credit is due, the entire idea for this project came from this article.
First run this:
vagrant up
vagrant ssh
Now you're free to modify the base box to match your needs. We recommend that you replace /etc/apt/sources.list by one of the methods listed here.
When you're done modifying the sources.list, it's a good idea to go ahead and update the packages.
sudo apt-get update
sudo apt-get upgrade
exit
If you'd like to pre-install any packages for your base image, now is the time to do so.
When you're done, exit
the vagrant ssh session, and run
vboxmanage list runningvms
And look for the name that Virtual Box has given this machine, it will likely be something like this: vagrantbox-ubuntu_dspace_1387309768
Now run
vagrant package --base vagrantbox-ubuntu_dspace_1387309768 --output precise64.box
Wait for that to complete, when you have a new precise64.box all packaged up, run this:
vagrant box add precise64 precise64.box
And now, you will have your own personally-tweaked base box to use with Vagrant-DSpace, or for any Vagrant-based project that refers to a base box named "precise64".
* [Vagrant](http://www.vagrantup.com/) * [Virtualbox](https://www.virtualbox.org/) [VB Guest plugin](https://github.com/dotless-de/vagrant-vbguest) ```sh vagrant plugin install vagrant-vbguest ``` This work is licensed under the [DSpace BSD 3-Clause License](http://www.dspace.org/license/), which is just a standard [BSD 3-Clause License](http://opensource.org/licenses/BSD-3-Clause).