diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2022-09-23 10:53:05 +0200 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2022-09-27 11:10:12 +0000 |
| commit | ed2cf2f5e531cf0dfa5e61f9c0982b0da2540735 (patch) | |
| tree | e227c3176395c83fadb2258dbdff32f463655af5 /tools | |
| parent | 1aac65de0c60e6aef543995d42ff0ccd56f664d5 (diff) | |
| download | kolla-ansible-ed2cf2f5e531cf0dfa5e61f9c0982b0da2540735.tar.gz kolla-ansible-ed2cf2f5e531cf0dfa5e61f9c0982b0da2540735.zip | |
Change clouds.yaml location
It's a followup to 73a1812c5856be635827b6c6de81b39c22346457
addressing post-merge comments.
Change-Id: Idd458ad6ef29e4eee2f9e537b4eae39d26eb9f64
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/init-runonce | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/init-runonce b/tools/init-runonce index 5dd9c6b81..9a93216b5 100755 --- a/tools/init-runonce +++ b/tools/init-runonce @@ -48,15 +48,19 @@ for i in curl openstack; do done # Test for clouds.yaml -if [[ ! -f /etc/openstack/clouds.yaml ]]; then - echo "/etc/openstack/clouds.yaml is missing." +if [[ ! -f /etc/kolla/clouds.yaml ]]; then + echo "/etc/kolla/clouds.yaml is missing." echo " Did your deploy finish successfully?" exit 1 fi +# Specify clouds.yaml file to use +export OS_CLIENT_CONFIG_FILE=/etc/kolla/clouds.yaml + # Select admin account from clouds.yaml export OS_CLOUD=kolla-admin + # Test to ensure configure script is run only once if $KOLLA_OPENSTACK_COMMAND image list | grep -q cirros; then echo "This tool should only be run once per deployment." |
