Latest buildserver wip

This commit is contained in:
Ciaran Gultnieks 2012-02-21 00:01:07 +00:00
parent 8e4cb9f5a3
commit 777af32dc0
8 changed files with 249 additions and 219 deletions

11
makebuildserver.sh Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
rm -f buildserver.box
cd buildserver
vagrant up
vagrant ssh -c "sudo shutdown -h now"
cd ..
# Just to wait until it's shut down!
sleep 20
vagrant package --base `VBoxManage list vms | grep buildserver | sed 's/"\(.*\)".*/\1/'` --output buildserver.box
vagrant box add buildserver buildserver.box -f && rm buildserver.box