Browse Source

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
tags/7.0.0.0b2
caoyuan 1 year ago
parent
commit
f9478235c9
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      contrib/dev/vagrant/bootstrap.sh

+ 2
- 1
contrib/dev/vagrant/bootstrap.sh View File

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

Loading…
Cancel
Save