]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/releases/nautilus: fix config update step 27502/head
authorSage Weil <sage@redhat.com>
Wed, 10 Apr 2019 16:25:11 +0000 (11:25 -0500)
committerSage Weil <sage@redhat.com>
Wed, 10 Apr 2019 22:42:11 +0000 (17:42 -0500)
'ceph ... > /etc/ceph/ceph.conf' fails because bash truncates ceph.conf
before the ceph cli invocation is able to use it to connect to the cluster.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit b17adcf3e88c010c25b3878bf563c1f3bcdc9ff9)

doc/releases/nautilus.rst

index d030907c9ab238baa7e4152adefe6c56d68997ca..4ac6b9a390e8331e345af9ab6e354073cfbed202 100644 (file)
@@ -354,7 +354,8 @@ Instructions
 
    To create a minimal but sufficient ceph.conf for each host,::
 
-     ceph config generate-minimal-conf > /etc/ceph/ceph.conf
+     ceph config generate-minimal-conf > /etc/ceph/ceph.conf.new
+     mv /etc/ceph/ceph.conf.new /etc/ceph/ceph.conf
 
    Be sure to use this new config--and, specifically, the new syntax
    for the ``mon_host`` option that lists both ``v2:`` and ``v1:``