summaryrefslogtreecommitdiffstats
path: root/src/ckill.sh
blob: 32251556f1920afdbe19f7ea82c7d71218aa6c7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash -e

# fsid
if [ -e fsid ] ; then
    fsid=`cat fsid`
else
    echo 'no fsid file, so no cluster?'
    exit 0
fi
echo "fsid $fsid"

sudo ../src/cephadm/cephadm rm-cluster --force --fsid $fsid