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