| commit | a30f89b4173adf042d54fef7533d5d41ffe5282b | [log] [tgz] |
|---|---|---|
| author | Zuul <zuul@review.openstack.org> | Tue Feb 27 09:16:25 2018 +0000 |
| committer | Gerrit Code Review <review@openstack.org> | Tue Feb 27 09:16:25 2018 +0000 |
| tree | a64b9baf46114a6ea3c399c1af9eb6777c364186 | |
| parent | 8408edbdfd0924634a741a1f9f03f80e11e2a970 [diff] | |
| parent | 38a23d901aa1fd55dbe0d57718124c00d4f658cb [diff] |
Merge "ceph plugin installation: umount correct device if it existed."
diff --git a/functions b/functions index eabe249..3fcc38d 100644 --- a/functions +++ b/functions
@@ -717,7 +717,7 @@ # 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