Steven Dake 19318667ba Move scripts for glance to docker_templates
Change-Id: I6272caf3939a2e13a4599239d85020205ff7d9e3
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00

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