-
-
Save anter74/0967acd8f9a6a1ba84750bb47807ff67 to your computer and use it in GitHub Desktop.
Deploy Over/Undercloud with FreeIPA using TripleO-Quickstart (OOOQ)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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