]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/releases/nautilus: fix config update step
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 16:25:11 +0000 (11:25 -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>
doc/releases/nautilus.rst

index 760e88d2baa44d99b956c3151f34bb3ef0fe5c53..babefb801a460e861f6a7b70f3a2aa3ee93ed433 100644 (file)
@@ -355,7 +355,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 only on hosts that have been
    upgraded to Nautilus, as it may contain a ``mon_host`` value that