kolla-ansible/docker_templates/zaqar/config-external.sh
Steven Dake 5c82e0c90c Move scripts for zaqar to docker_templates
Change-Id: I558b4f1d8eceb420a3bf77297bd699f277f840b1
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00

11 lines
200 B
Bash

#!/bin/bash
SOURCE="/opt/kolla/zaqar/zaqar.conf"
TARGET="/etc/zaqar/zaqar.conf"
OWNER="zaqar"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi