aboutsummaryrefslogtreecommitdiff
path: root/tools/cleanup-host
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2025-03-20 15:48:56 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2025-03-21 16:30:59 +0000
commitadb1a9b918e428b8ab173118c40d215db0c70ce6 (patch)
tree3ecd423ea025864db67f4dbfaf03644436713d05 /tools/cleanup-host
parent88e94f29bbd720b48fb671cb57e57e58f13c0829 (diff)
downloadkolla-ansible-adb1a9b918e428b8ab173118c40d215db0c70ce6.tar.gz
kolla-ansible-adb1a9b918e428b8ab173118c40d215db0c70ce6.zip
Remove Swift role
Since Swift is broken and since deprecation nobody did pick up the work to make it working - let's remove swift role and associated integrations/CI scripts. Change-Id: I08e92aaeea644053fd25f80ce1f276a495cebbfc
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