
Change-Id: I6272caf3939a2e13a4599239d85020205ff7d9e3 Partially-Implements: blueprint remove-docker-dir
11 lines
217 B
Bash
Executable File
11 lines
217 B
Bash
Executable File
#!/bin/bash
|
|
SOURCE="/opt/kolla/glance-api/glance-api.conf"
|
|
TARGET="/etc/glance/glance-api.conf"
|
|
OWNER="glance"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|