aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts/lib.sh
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-21 14:00:28 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-09-21 14:00:28 +0000
commitf172f8e3dc92710f79a33ad38aa3da6313da879c (patch)
tree610357bbcea7a37a1cb9a5d16c8502cb1eb74296 /mcp/scripts/lib.sh
parent7099ffcba4c7a84dfd2ac53fd59149948665f884 (diff)
parent3ee785abc3b36e10a5c89e879168725a135b731b (diff)
Merge "[state] virtual_init: Limit to mas01 on baremetal"
Diffstat (limited to 'mcp/scripts/lib.sh')
-rw-r--r--mcp/scripts/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh
index 293262e89..c6a3d219e 100644
--- a/mcp/scripts/lib.sh
+++ b/mcp/scripts/lib.sh
@@ -270,7 +270,7 @@ function prepare_vms {
if [ "${image_dir}/${_tmp}" -ef "${image_dir}/${image}" ]; then
echo "[INFO] Patched base image found"
else
- rm -f "${image_dir}/${image%.*}"*
+ rm -rf "${image_dir}/${image%.*}"*
if [[ ! "${repos_pkgs_str}" =~ ^\^+$ ]]; then
echo "[INFO] Patching base image ..."
cp "${image_dir}/${_o}" "${image_dir}/${_tmp}"