Roger Luethi 0caf4cf52e Add and enable Vagrant script
This changeset adds vagrant/run_scripts.sh, a script executed by the
Vagrant shell provisioner inside the node VM.

run_scripts.sh executes the scripts enabled in:

config/scripts.nodeinit_vagrant
config/scripts.ubuntu
config/scripts.$HOSTNAME

Note that while Vagrant calls run_scripts.sh through symlinks named
after the nodes (controller.sh, network.sh, compute.sh), this has no
effect because run_scripts.sh relies on the hostname to select the
configuration.

The symlinks (and the Vagrantfile section that calls them) can be removed
once we are reasonably sure that we don't want to have node-specific
scripts for Vagrant on the host-side.

Partial-Bug: 1312764
Implements: blueprint openstack-training-labs
Change-Id: Ia5cfee0acddae26bd41e39b9185ed3d5990539f6
2014-06-17 12:23:48 +02:00
..
2014-06-17 11:25:59 +02:00
2014-06-17 12:23:48 +02:00
2014-06-16 16:55:23 +05:30

All scripts in this directory run within the VMs.

They install and configure OpenStack components and any other required software (such as databases).

Before these generic scripts run, scripts from the osbash (or vagrant, depending on the installation method) subdirectory set up the VM and configure basic networking.