/vagrant-unity-packer

Packer configuration that installs Unity in a given Vagrant box and publishes the new box to Atlas

Primary LanguageShellApache License 2.0Apache-2.0

#vagrant-unity-packer This project is a build configuration that uses Packer to build a Virtualbox image and pack it into a Vagrant box.

At the end of the build, the generated box is published to Atlas so it can be used to create development environments with Vagrant.

If all you want is a Vagrant box with GUI, you don't need to build a new one, just grab the box generated by this build.

Pre-requisites

Vagrant, Packer and Virtualbox must be installed and available in the path.

Usage

To build and deploy a new box, just run

./build.sh $ORIGINAL_USERNAME $ORIGINAL_BOX_NAME $ORIGINAL_VERSION $YOUR_ATLAS_USERNAME $DEST_ATLAS_BOX_NAME $DEST_ATLAS_BOX_VERSION

For example, I used the following command to generate this box https://atlas.hashicorp.com/danielgazineu/boxes/ubuntu-trusty64-unity/versions/0.0.1

./build.sh ubuntu trusty64 20150902.0.2 danielgazineu ubuntu-trusty64-unity 0.0.1

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D