Switch to unified view

a/vagrant/README b/vagrant/README
...
...
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
6
$ vagrant box add ubuntu-1110-server-amd64 http://timhuegdon.com/vagrant-boxes/ubuntu-11.10.box
6
$ vagrant box add ubuntu-1110-server-amd64 http://timhuegdon.com/vagrant-boxes/ubuntu-11.10.box
7
$ vagrant init
7
$ vagrant init ubuntu-1110-server-amd64
8
8
9
# Get a copy of the provisioning scripts
9
# Get a copy of the provisioning scripts
10
$ cp /var/local/allura/vagrant/* .
10
$ cp -R /var/local/allura/vagrant/* .
11
11
12
# At this point you can make whatever changes you want to the provisioning
12
# At this point you can make whatever changes you want to the provisioning
13
# scripts
13
# scripts
14
14
15
# Provision the box (this will take a while)
15
# Provision the box (this will take a while)
16
$ vagrant up
16
$ vagrant up
17
17
18
# If you get an error, you can run `vagrant destroy` to start over
19
18
# Package the Allura box
20
# Package the Allura box
19
$ vagrant package --vagrantfile Vagrantfile.pkg
21
$ vagrant package --vagrantfile Vagrantfile.pkg
20
22
21
# Test your new box
23
# Test your new box
22
$ mkdir ~/vagrant_allura_test and cd ~/vagrant_allura_test
24
$ mkdir ~/vagrant_allura_test && cd ~/vagrant_allura_test
23
$ vagrant box add allura ~/vagrant_allura/package.box
25
$ vagrant box add allura ~/vagrant_allura/package.box
24
$ vagrant init
26
$ vagrant init allura
27
$ vagrant up
25
$ vagrant ssh
28
$ vagrant ssh
26
29
27
# Do whatever testing you want...
30
# Do whatever testing you want...
28
31
29
# If everything checks out, you can rename your package.box and upload it 
32
# If everything checks out, you can rename your package.box and upload it