aptira/openstack-training-labs — pull request #5 by VMTrooper (2013-10-07 01:46:06+00:00)
Title: Added Vagrant Support for the OpenStack Training VM

Vagrant will deploy a VirtualBox Precise 64 image to run the installation scripts on. The installation scripts will not deploy successfully on the Vagrant VM in their current state.

Vagrant mounts the folder that contains its Vagrantfile as "/vagrant" in the VM. It does not automatically copy the scripts to a local folder on the VM to execute there. There are two options to mitigate this:

(A) modify the allinone.sh provisioning script file that I created to copy the install script files locally before executing them
(B) modify the install scripts so that their paths are the full path from the perspective of the VM. ex: /vagrant/Scripts/test_scripts.sh

Since Pranav and Peter have done extensive on the scripts in their current incarnation, option A may be more preferable. Let me know which way you want to proceed either way, and I will modify the Vagrantfile accordingly. We can discuss via Google Hangout during the week of 10/7.