]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-daemon: set container_image during bootstrap 31445/head
authorSage Weil <sage@redhat.com>
Wed, 6 Nov 2019 20:49:12 +0000 (14:49 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Nov 2019 13:51:11 +0000 (07:51 -0600)
Set the new cluster's container_image to match the image we bootstrapped
with.

Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-daemon

index 9391b6148fc170e3e5cd47433be16dfa64ada22b..d5332f273dab7a675d2d4c34320e0ea560b7399f 100755 (executable)
@@ -831,6 +831,7 @@ def command_bootstrap():
         cp.add_section('global')
     cp.set('global', 'fsid', fsid);
     cp.set('global', 'mon host', addr_arg)
+    cp.set('global', 'container_image', args.image)
     cpf = StringIO()
     cp.write(cpf)
     config = cpf.getvalue()