
Training Labs folder was kept inside the training-guides folder since the project was sheltered under openStack manuals project. To keep the content more organized, moving the folder to appropriate location would be necessary. blueprint openstack-training-labs blueprint training-manuals Change-Id: I4007c3fb64e76cda798ffe6cb68557f462ad07ff
32 lines
921 B
Bash
32 lines
921 B
Bash
# compute.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/PreInstall.sh "single-node" > Logs/PreInstall.log
|
|
|