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

Merge "Add a step to clean all ceph references in fstab"

parents ad05c184 7f2dd73d
No related branches found
No related tags found
No related merge requests found
...@@ -26,3 +26,9 @@ ip -o link show | awk -F': ' '/vxlan/{print $2}' | while read -r ifname ; do ...@@ -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" echo "Removing vxlan interface $ifname on the host"
ip link delete $ifname type vxlan ip link delete $ifname type vxlan
done 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
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