summaryrefslogtreecommitdiffstats
path: root/mcp/scripts
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-01-22 09:22:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-01-22 09:22:02 +0000
commit02345dc455b538960ef9a2cee9acbc8e4ec60fb1 (patch)
tree00fbf993b591a2cb6dfcacbba05e5d7a8a4780d1 /mcp/scripts
parent924f8cff8c974547db29f16e150f2041af5de9e8 (diff)
parent4563ea7d62238e8273d840a8d9c6c1e179ca584e (diff)
Merge "reclass: apt_mk_version: stable"
Diffstat (limited to 'mcp/scripts')
-rwxr-xr-xmcp/scripts/salt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/salt.sh b/mcp/scripts/salt.sh
index a13194363..1975f9e54 100755
--- a/mcp/scripts/salt.sh
+++ b/mcp/scripts/salt.sh
@@ -54,7 +54,7 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s -e << SALT_INSTALL_END
echo ' done'
mkdir -p /srv/salt /usr/share/salt-formulas/reclass
- rm -rf ${OPNFV_GIT_DIR}
+ rm -rf ${OPNFV_GIT_DIR} ${OPNFV_FUEL_DIR}
mv ${OPNFV_TMP_DIR} ${OPNFV_GIT_DIR} && chown -R root.root ${OPNFV_GIT_DIR}
find ${OPNFV_GIT_DIR} -name '.git' -type f | while read f_git; do
sed -i 's@${LOCAL_GIT_DIR}@${OPNFV_GIT_DIR}@g' \$f_git