aboutsummaryrefslogtreecommitdiff
path: root/tools/cleanup-host
diff options
context:
space:
mode:
authorSwapnil Kulkarni (coolsvap) <me@coolsvap.net>2016-04-12 16:29:43 +0530
committerSwapnil Kulkarni (coolsvap) <me@coolsvap.net>2016-04-12 16:32:11 +0530
commit15444da4d990685ba4c954a78bea819d6706dc3b (patch)
treefb01359175c3c4a75e7403934e767092c6d08b83 /tools/cleanup-host
parente2b250f7c3cd008bcbd31d246c5dd71db3aa7de4 (diff)
downloadkolla-ansible-15444da4d990685ba4c954a78bea819d6706dc3b.tar.gz
kolla-ansible-15444da4d990685ba4c954a78bea819d6706dc3b.zip
cleanup-host should not remove kolla-build.conf
new cleanup-host script removes kolla-build.conf in /etc/kolla directory which contains the build configuration for building images. This should be preserved. Change-Id: I20fbf3f8a2400a5e048ba55beb0c8e1ec849d8a3 Related-Bug:#1561055
Diffstat (limited to 'tools/cleanup-host')
-rwxr-xr-xtools/cleanup-host1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/cleanup-host b/tools/cleanup-host
index 75ed47bd3..909bed830 100755
--- a/tools/cleanup-host
+++ b/tools/cleanup-host
@@ -38,6 +38,7 @@ FOLDER_PATH="/etc/kolla/"
for dir in $FOLDER_PATH*; do
if [ "$dir" == "$FOLDER_PATH""passwords.yml" ] || \
[ "$dir" == "$FOLDER_PATH""globals.yml" ] || \
+ [ "$dir" == "$FOLDER_PATH""kolla-build.conf" ] || \
[ "$dir" == "$FOLDER_PATH""config" ]; then
echo "Skipping:" $dir
else