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
(cherry picked from commit 15444da4d9)
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-04-12 16:29:43 +05:30 committed by Mauricio Lima
parent c47a621135
commit 44f59545ef

View File

@ -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