[ceph, mon] expects no mon prefix on removal

This commit is contained in:
Nico Schottelius 2018-05-30 14:06:51 +02:00
parent 30cec4f925
commit 65b9001f89

View file

@ -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)/