openstack-manuals/doc/training-guides/training-labs/allinone.sh
Roger Luethi 2e19f54e78 Fix training-guides URLs
Some of the documentation and scripts still used an old path name.

Change-Id: I9b4b054e28172729fad54f8792ff6439dad9f475
2014-04-11 17:16:39 +02:00

30 lines
921 B
Bash

# allinone.sh
#
# Author: Trevor Roberts Jr (VMTrooper@gmail.com)
# This script is called by the Vagrant Shell Provisioner to build the student's lab machine.
#
# Vagrant's Shell Provisioner receives deployment instructions from this file.
# Removing this file without removing the Shell Provisioner command in the Vagrantfile
# will cause deployment errors
#
# See the remaining OpenStack Training Labs code for more details at GitHub:
# https://github.com/openstack/openstack-manuals/tree/master/doc/training-guides/training-labs
#Change to the root user
sudo su -
cd ~
#Get latest catalogs from Ubuntu
apt-get update
apt-get install -y vim
#Copy the deployment scripts to /root
cp -avr /vagrant/Scripts .
cd Scripts
mkdir Logs
#Execute the deployment scripts
#./auto_scripts.sh
echo "Execute PreInstall Script to Build Student Environment"
bash PreInstall/Vagrant-PreInstall.sh "single-node" > Logs/PreInstall.log