From 733f0705c1ed21efeef453f98e331455d326fe22 Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 7 Dec 2019 21:45:22 +0100 Subject: [PATCH] add update_conf.sh --- update_conf.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 update_conf.sh 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