From efa26ed7415576c5e1a3215dfafda78e2fb1b2ff Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Thu, 17 Nov 2016 01:31:04 +0800 Subject: [PATCH] Use kolla-ansible for deployment Change-Id: I2eb821f88d47b665615ad56319dd40681f7d9967 --- tools/deploy_aio.sh | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh index d536171a9a..d5c10db5f9 100755 --- a/tools/deploy_aio.sh +++ b/tools/deploy_aio.sh @@ -9,6 +9,19 @@ export KOLLA_BASE=$1 export KOLLA_TYPE=$2 export KEEPALIVED_VIRTUAL_ROUTER_ID=$(shuf -i 1-255 -n 1) +function prepare_kolla_ansible { + KOLLA_ANSIBLE_DIR=$(mktemp -d) + cat > /tmp/clonemap <