Skip to content
Snippets Groups Projects
Commit 33711529 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Unmount Ceph OSD disks as part of destroy"

parents f1759c3a e27165ed
No related branches found
No related tags found
No related merge requests found
---
features:
- Unmount Ceph OSD disks as part of 'kolla-ansible destroy'
......@@ -37,6 +37,11 @@ fi
echo "Creating a fstab backup..."
sudo cp /etc/fstab /etc/fstab_backup
echo "Unmounting Ceph OSD disks"
for mount in $(mount | awk '/\/var\/lib\/ceph/ { print $3 }'); do
umount $mount
done
echo "Removing ceph references from fstab..."
sudo sed -i '/\/var\/lib\/ceph\/osd\//d' /etc/fstab
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment