From f9478235c944c9b0cd7a54a79f029279abd4be92 Mon Sep 17 00:00:00 2001 From: caoyuan Date: Sun, 22 Apr 2018 20:45:18 +0800 Subject: [PATCH] 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 --- contrib/dev/vagrant/bootstrap.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/dev/vagrant/bootstrap.sh b/contrib/dev/vagrant/bootstrap.sh index fa9d463b2b..279689d426 100644 --- a/contrib/dev/vagrant/bootstrap.sh +++ b/contrib/dev/vagrant/bootstrap.sh @@ -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