63a7d01639
Running ceph in a container requires 2 pieces: - ceph-mon - objectstorage-daemon (osd) Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I33e5baf72e4bc493889da0d796041acfd1a2cad3 Partially-Implements: blueprint ceph-container
11 lines
199 B
Bash
11 lines
199 B
Bash
#!/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
|