@david-coombes,

Please can you resolve 2 issues with this technique.

1.  It needs to be idempotent - currently everytime you vagrant up you're going to get an extra line added to your /etc/profile
2.  It doesn't actually fix the problem - `vagrant@precise64:~/dist$ bin/start.sh 4567 Error` still gives `Unable to find/load systemlib.php`