diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-09-21 14:00:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-09-21 14:00:28 +0000 |
commit | f172f8e3dc92710f79a33ad38aa3da6313da879c (patch) | |
tree | 610357bbcea7a37a1cb9a5d16c8502cb1eb74296 /mcp/scripts/lib.sh | |
parent | 7099ffcba4c7a84dfd2ac53fd59149948665f884 (diff) | |
parent | 3ee785abc3b36e10a5c89e879168725a135b731b (diff) |
Merge "[state] virtual_init: Limit to mas01 on baremetal"
Diffstat (limited to 'mcp/scripts/lib.sh')
-rw-r--r-- | mcp/scripts/lib.sh | 2 |
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}" |