Add a step to clean all ceph references in fstab
After run cleanup-containers script, was necessary to clear references to the ceph in fstab file manually Change-Id: I264e6644d5d569a9b56115ea31b15589b093c3f9 Closes-Bug: #1562991
This commit is contained in:
parent
834b5eff5c
commit
7f2dd73dcc
@ -26,3 +26,9 @@ ip -o link show | awk -F': ' '/vxlan/{print $2}' | while read -r ifname ; do
|
||||
echo "Removing vxlan interface $ifname on the host"
|
||||
ip link delete $ifname type vxlan
|
||||
done
|
||||
|
||||
echo "Creating a fstab backup..."
|
||||
sudo cp /etc/fstab /etc/fstab_backup
|
||||
|
||||
echo "Removing ceph references from fstab..."
|
||||
sudo sed -i '/\/var\/lib\/ceph\/osd\//d' /etc/fstab
|
||||
|
Loading…
Reference in New Issue
Block a user