ceph/start.sh: remove /var/tmp/ceph at start.

This is a check to make sure it was properly removed after the last
build.

Change-Id: I2e425e81b88116190034f181e8aaa0e0a17ddb77
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/401860
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Liang Yan <liang.z.yan@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
Seth Howell 2018-02-28 09:50:42 -07:00 committed by Changpeng Liu
parent 08ad304011
commit 7cf455c8e0

View File

@ -17,7 +17,9 @@ dev_backend=/dev/ceph
image=/var/tmp/ceph_raw.img
dev=/dev/loop200
# partition osd
if [ -d $base_dir ]; then
rm -rf $base_dir
fi
mkdir ${base_dir}
cp ${script_dir}/ceph.conf $ceph_conf