Adds horizon scripts for training labs
Adds horizon scripts for training labs which will install OpenStack dashboard. Change-Id: I824c5571410411f2f17671657c90d463c2846ee2 Partial-Bug: 1312764 Implements: blueprint openstack-training-labs
This commit is contained in:
parent
3ef40f021e
commit
5a32910539
@ -2,6 +2,7 @@
|
||||
scripts apt_install_mysql.sh
|
||||
scripts setup_keystone.sh
|
||||
scripts setup_glance.sh
|
||||
scripts setup_horizon.sh
|
||||
scripts shutdown.sh
|
||||
boot
|
||||
snapshot "pre-installed"
|
||||
|
21
labs/scripts/setup_horizon.sh
Executable file
21
labs/scripts/setup_horizon.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user