
Adds horizon scripts for training labs which will install OpenStack dashboard. Change-Id: I824c5571410411f2f17671657c90d463c2846ee2 Partial-Bug: 1312764 Implements: blueprint openstack-training-labs
22 lines
633 B
Bash
Executable File
22 lines
633 B
Bash
Executable File
#!/usr/bin/env bash
|
|
TOP_DIR=$(cd $(dirname "$0")/.. && pwd)
|
|
source "$TOP_DIR/config/paths"
|
|
source "$LIB_DIR/functions.guest"
|
|
exec_logfile
|
|
|
|
indicate_current_auto
|
|
|
|
#------------------------------------------------------------------------------
|
|
# Set up OpenStack Dashboard (horizon).
|
|
#------------------------------------------------------------------------------
|
|
|
|
echo "Installing horizon."
|
|
sudo apt-get install -y openstack-dashboard memcached
|
|
|
|
echo "Purging Ubuntu theme."
|
|
sudo dpkg --purge openstack-dashboard-ubuntu-theme
|
|
|
|
echo "Reloading apache and memcached service."
|
|
sudo service apache2 restart
|
|
sudo service memcached restart
|