Fix the profile missing when run bootstrap.sh

when use bootstrap.sh script to prepare the development
environment, the /etc/kolla/globlas.yml and
/etc/kolla/passwords.yml is missing, this ps to fix it.

Change-Id: Id00187ec032c7a6c98d0772def12f142ef13fb22
Closes-Bug: #1766081
This commit is contained in:
caoyuan 2018-04-22 20:45:18 +08:00
parent 1bdb98e9a3
commit f9478235c9
1 changed files with 2 additions and 1 deletions

View File

@ -183,7 +183,8 @@ function configure_operator {
fi
tox -c ${KOLLA_PATH}/tox.ini -e genconfig
cp -r ${KOLLA_ANSIBLE_PATH}/etc/kolla/ /etc/kolla
mkdir -p /etc/kolla
cp -r ${KOLLA_ANSIBLE_PATH}/etc/kolla/* /etc/kolla
cp -r ${KOLLA_PATH}/etc/kolla/* /etc/kolla
${KOLLA_ANSIBLE_PATH}/tools/generate_passwords.py
mkdir -p /usr/share/kolla