aboutsummaryrefslogtreecommitdiff
path: root/tools/cleanup-host
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cleanup-host')
-rwxr-xr-xtools/cleanup-host6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/cleanup-host b/tools/cleanup-host
index fc6e94320..52bfde386 100755
--- a/tools/cleanup-host
+++ b/tools/cleanup-host
@@ -37,12 +37,6 @@ fi
echo "Creating a fstab backup..."
sudo cp /etc/fstab /etc/fstab_backup
-if [[ "$enable_swift" == "yes" ]]; then
- echo "Removing swift references from fstab..."
- cat /etc/fstab | grep "/srv/node/d*" | xargs umount
- sed -i '/\/srv\/node\//d' /etc/fstab
-fi
-
if [[ "$glance_file_datadir_volume" != "glance" && -d "$glance_file_datadir_volume" ]]; then
echo "Removing glance volume if it is customized"
rm -rfv $glance_file_datadir_volume