]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-daemon: fix bootstrap config
authorSage Weil <sage@redhat.com>
Fri, 27 Sep 2019 16:40:56 +0000 (11:40 -0500)
committerSage Weil <sage@redhat.com>
Wed, 2 Oct 2019 12:11:12 +0000 (07:11 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon

index 47233839ec90ee73577043db338a1a86e61e611c..f88dda95da3b893da9f1538cac8b160f2990f3c8 100755 (executable)
@@ -369,7 +369,7 @@ def command_bootstrap():
     ).run()
 
     with open(mon_dir + '/conf', 'w') as f:
-        f.write('[global]\n\tfsid = %s\n' % (fsid))
+        f.write(config)
 
     mon_c = get_container(fsid, 'mon', mon_id)
     deploy_daemon(fsid, 'mon', mon_id, mon_c)