Switch to unified view

a/vagrant/README b/vagrant/README
1
To build an Allura vagrant box:
1
To build an Allura vagrant box:
2
2
3
$ mkdir ~/vagrant_allura && cd ~/vagrant_allura
3
$ mkdir ~/vagrant_allura && cd ~/vagrant_allura
4
4
5
# Get the base box
5
# Get the base box, see http://www.vagrantbox.es/
6
$ vagrant box add ubuntu-1110-server-amd64 http://timhuegdon.com/vagrant-boxes/ubuntu-11.10.box
6
# 12.04 is LTS, so will be good to stick with for some time
7
$ vagrant box add ubuntu-1204-server-amd64 http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-vagrant-amd64-disk1.box
7
$ vagrant init ubuntu-1110-server-amd64
8
$ vagrant init ubuntu-1204-server-amd64
8
9
9
# Get a copy of the provisioning scripts
10
# Get a copy of the provisioning scripts (note, Vagrantfile may change from release to release and may need manual updating)
10
$ cp -R /var/local/allura/vagrant/* .
11
$ cp -R /var/local/allura/vagrant/* .
11
12
12
# At this point you can make whatever changes you want to the provisioning
13
# At this point you can make whatever changes you want to the provisioning
13
# scripts
14
# scripts.  Currently, the .pp puppet file runs first and sets some stuff up
15
# and then allura_setup.sh runs and does more.
14
16
15
# Provision the box (this will take a while)
17
# Provision the box (this will take a while)
16
$ vagrant up
18
$ vagrant up
17
19
18
# If you get an error, you can run `vagrant destroy` to start over
20
# If you get an error, you can run `vagrant ssh` to get in and debug, and then `vagrant destroy` to start over
19
21
20
# Package the Allura box
22
# Package the Allura box
21
$ vagrant package --vagrantfile Vagrantfile.pkg
23
$ vagrant package --vagrantfile Vagrantfile.pkg
22
24
23
# Test your new box
25
# Test your new box