Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
7a27826c
Commit
7a27826c
authored
9 years ago
by
Jenkins
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/cleanup-host
+6
-0
6 additions, 0 deletions
tools/cleanup-host
with
6 additions
and
0 deletions
tools/cleanup-host
+
6
−
0
View file @
7a27826c
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment