Merge "ceph plugin installation: umount correct device if it existed."
This commit is contained in:
commit
a30f89b417
@ -717,7 +717,7 @@ function create_disk {
|
||||
# Create a loopback disk and format it to XFS.
|
||||
if [[ -e ${disk_image} ]]; then
|
||||
if egrep -q ${storage_data_dir} /proc/mounts; then
|
||||
sudo umount ${storage_data_dir}/drives/sdb1
|
||||
sudo umount ${storage_data_dir}
|
||||
sudo rm -f ${disk_image}
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user