Skip to content

Commit bcc7e1a

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Write clouds.yaml to only /etc" into stable/liberty
2 parents dcffea9 + e8aa5d5 commit bcc7e1a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

functions-common

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ function write_clouds_yaml {
7676
# The location is a variable to allow for easier refactoring later to make it
7777
# overridable. There is currently no usecase where doing so makes sense, so
7878
# it's not currently configurable.
79-
CLOUDS_YAML=~/.config/openstack/clouds.yaml
8079

81-
mkdir -p $(dirname $CLOUDS_YAML)
80+
CLOUDS_YAML=/etc/openstack/clouds.yaml
81+
82+
sudo mkdir -p $(dirname $CLOUDS_YAML)
83+
sudo chown -R $STACK_USER /etc/openstack
8284

8385
CA_CERT_ARG=''
8486
if [ -f "$SSL_BUNDLE_FILE" ]; then

0 commit comments

Comments
 (0)