From aeeeb2ba7e9767f037c6ff933ded6af9076c2d4c Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 15 Feb 2018 23:40:59 +0100 Subject: [PATCH] Add script to add host in default --- ceph-host-move-to-root | 4 ++++ ceph-create-initial-keyring => ceph-keyring-create-initial | 0 2 files changed, 4 insertions(+) create mode 100644 ceph-host-move-to-root rename ceph-create-initial-keyring => ceph-keyring-create-initial (100%) diff --git a/ceph-host-move-to-root b/ceph-host-move-to-root new file mode 100644 index 0000000..9e94d6c --- /dev/null +++ b/ceph-host-move-to-root @@ -0,0 +1,4 @@ +#!/bin/sh + +# First time we need to add host to the root +ceph osd crush move $(hostname) root=default diff --git a/ceph-create-initial-keyring b/ceph-keyring-create-initial similarity index 100% rename from ceph-create-initial-keyring rename to ceph-keyring-create-initial