diff --git a/update_conf.sh b/update_conf.sh new file mode 100644 index 0000000..39cf8b6 --- /dev/null +++ b/update_conf.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +docker exec ceph_mon ceph config generate-minimal-conf > /ceph/ceph.conf + +for conf in $(find /ceph -name ceph.conf); do + cp -a /ceph/ceph.conf "$conf" +done + +rm /ceph/ceph.conf \ No newline at end of file