Configure keystone catalog for multihost use
diff --git a/stack.sh b/stack.sh
index a093b24..6dbc885 100755
--- a/stack.sh
+++ b/stack.sh
@@ -379,8 +379,11 @@
cp $FILES/keystone.conf $KEYSTONE_CONF
sudo sed -e "s,%SQL_CONN%,$BASE_SQL_CONN/keystone,g" -i $KEYSTONE_CONF
+ KEYSTONE_DATA=$KEYSTONE_DIR/bin/keystone_data.sh
+ cp $FILES/keystone_data.sh $KEYSTONE_DATA
+ sudo sed -e "s,%HOST_IP%,$HOST_IP,g" -i $KEYSTONE_DATA
# initialize keystone with default users/endpoints
- BIN_DIR=$KEYSTONE_DIR/bin bash $FILES/keystone_data.sh
+ BIN_DIR=$KEYSTONE_DIR/bin bash $KEYSTONE_DATA
fi