Browse code

Merge "ceph plugin installation: umount correct device if it existed."

Zuul authored on 2018/02/27 18:16:25
Showing 1 changed files
... ...
@@ -717,7 +717,7 @@ function create_disk {
717 717
     # Create a loopback disk and format it to XFS.
718 718
     if [[ -e ${disk_image} ]]; then
719 719
         if egrep -q ${storage_data_dir} /proc/mounts; then
720
-            sudo umount ${storage_data_dir}/drives/sdb1
720
+            sudo umount ${storage_data_dir}
721 721
             sudo rm -f ${disk_image}
722 722
         fi
723 723
     fi