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
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-04-12 16:29:43 +05:30
parent e2b250f7c3
commit 15444da4d9
1 changed files with 1 additions and 0 deletions

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