precise64 vagrant parallels box
Shell Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
definitions
.DS_Store
README.md

README.md

Building a new vagrant parallels box from definitions (ubuntu-12.04-server-amd64)

Donate

Requirements:

vagrant plugin install vagrant-parallels
sudo gem install veewee
bundle exec veewee parallels define 'ubuntu-12.04-lts' 'https://github.com/mkoryak/vagrant-parallels-ubuntu-12.04-lts.git/definitions/parallels-ubuntu-12.04-server-amd64'
bundle exec veewee parallels build 'ubuntu-12.04-lts'  --workdir=.
bundle exec veewee parallels export 'ubuntu-12.04-lts' --workdir=.

Now you have a vagrant parallels box.

To import it into vagrant type:

vagrant box add 'ubuntu' './ubuntu-12.04-lts.box'

To use it:

vagrant init 'ubuntu'
vagrant up --provider=parallels
vagrant ssh

Build another version/distro using this repo

You can build an ubuntu 12.10 or an ubuntu 13.10 and possibly even a different distro using this repo as a starting point.

You will need to pull down this repo and use one of the folders in the the defintions/ folder as a starting point. The 2 folders in there are:

  • parallels-ubuntu-12.04-server-amd64-clean = a clean install containing dev tools and ruby
  • parallels-ubuntu-12.04-server-amd64 = an install containing puppet, chef, dev tools and ruby

you will need to open the defintion.rb file and edit these 2 lines to point to the correct iso image:

:iso_file => "ubuntu-12.04.3-server-amd64.iso",
:iso_src => "http://releases.ubuntu.com/12.04/ubuntu-12.04.3-server-amd64.iso"

after that, you can build this defintion with veewee:

bundle exec veewee parallels define 'box_name' 'path/to/your/defintion/dir'
bundle exec veewee parallels build 'box_nane'  --workdir=.
bundle exec veewee parallels export 'box_name' --workdir=.