From 65b9001f8930d1593eae66845e8b9e19df4e1dc9 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 30 May 2018 14:06:51 +0200 Subject: [PATCH] [ceph, mon] expects no mon prefix on removal --- ceph-mon-stop-delete | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-mon-stop-delete b/ceph-mon-stop-delete index 39d50cf..1246a96 100755 --- a/ceph-mon-stop-delete +++ b/ceph-mon-stop-delete @@ -14,6 +14,6 @@ else /etc/init.d/ceph stop "$mon" fi -ceph mon remove "${mon}" +ceph mon remove "$(hostname)" rm -rf /var/lib/ceph/mon/ceph-$(hostname)/