Merge "Avoid removing kolla-cli directories on destroy"

This commit is contained in:
Zuul 2018-06-09 09:20:29 +00:00 committed by Gerrit Code Review
commit 956c5b61c6

View File

@ -68,7 +68,9 @@ for dir in $FOLDER_PATH*; do
if [ "$dir" == "$FOLDER_PATH""passwords.yml" ] || \ if [ "$dir" == "$FOLDER_PATH""passwords.yml" ] || \
[ "$dir" == "$FOLDER_PATH""globals.yml" ] || \ [ "$dir" == "$FOLDER_PATH""globals.yml" ] || \
[ "$dir" == "$FOLDER_PATH""kolla-build.conf" ] || \ [ "$dir" == "$FOLDER_PATH""kolla-build.conf" ] || \
[ "$dir" == "$FOLDER_PATH""config" ]; then [ "$dir" == "$FOLDER_PATH""config" ] || \
[ "$dir" == "$FOLDER_PATH""kolla-cli" ] || \
[ "$dir" == "$FOLDER_PATH""certificates" ]; then
echo "Skipping:" $dir echo "Skipping:" $dir
else else
rm -rfv $dir rm -rfv $dir