This patch makes all the necessary changes to port the labs scripts from Juno to Kilo. Change-Id: I1ff50dcee2181a209e336cfc70c1164385292568 Co-Authored-By: Pranav Salunke <dguitarbite@gmail.com> Co-Authored-By: Roger Luethi <rl@patchworkscience.org>
23 lines
664 B
Bash
Executable File
23 lines
664 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -o errexit -o nounset
|
|
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
|
source "$TOP_DIR/config/paths"
|
|
source "$CONFIG_DIR/credentials"
|
|
source "$LIB_DIR/functions.guest"
|
|
|
|
exec_logfile
|
|
|
|
indicate_current_auto
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Install the message broker service (RabbitMQ).
|
|
|
|
echo "Installing RabbitMQ."
|
|
sudo apt-get install -y rabbitmq-server
|
|
|
|
echo "Adding openstack user to messaging service."
|
|
sudo rabbitmqctl add_user openstack "$RABBIT_PASSWORD"
|
|
|
|
echo "Permit configuration, write and read access for the openstack user."
|
|
sudo rabbitmqctl set_permissions openstack ".*" ".*" ".*"
|