
Add set_configs function that implements the flow from the proposed ansible-multi spec. Move start.sh to config-internal.sh to preserve existing behaviour. config-externall.sh copies the appropriate configs in from the bind'd location and sets permissions and ownership appropriately. Partially Implements: blueprint ansible-multi Change-Id: I53fca0660451087f273fefc3c63e0d8cf1a2c096
8 lines
228 B
Bash
8 lines
228 B
Bash
#!/bin/bash
|
|
|
|
if [[ -f /opt/kolla/keystone/keystone.conf ]]; then
|
|
cp /opt/kolla/keystone/keystone.conf /etc/keystone/keystone.conf
|
|
chown keystone: /etc/keystone/keystone.conf
|
|
chmod 0644 /etc/keystone/keystone.conf
|
|
fi
|