Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Deploy Over/Undercloud with FreeIPA using TripleO-Quickstart (OOOQ)
#!/bin/bash
set -ex
# Notes:
# - Ensure that you hand the virthsot from which you wish to deploy against
# as an argument during the script call.
# - This deployment will provision an additinoal node and configure it as
# a FreeIPA server prior to installing the undercloud.
VIRTHOST=$1
export WORKING_DIR=~/.quickstart-freeipa
if [ -z "$VIRTHOST" ]; then
echo "Please specify the virthost which you would like to deploy against."
exit 1
fi
# Clear old venv if it exists
rm -rf $WORKING_DIR
# Prepare tripleo-quickstart repo
mkdir $WORKING_DIR
pushd $WORKING_DIR
git clone https://github.com/openstack/tripleo-quickstart
# Deploy w/ quickstart
pushd tripleo-quickstart
bash quickstart.sh \
--bootstrap \
--ansible-debug \
--no-clone \
--playbook quickstart-extras.yml \
--working-dir $WORKING_DIR \
--release master \
--config $WORKING_DIR/config/general_config/ipa.yml \
--nodes $WORKING_DIR/config/nodes/1ctlr_1comp_1supp.yml \
--tags "all" \
$VIRTHOST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.