X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functions.sh;fp=functions.sh;h=69a3de765726bf9e5a80dd484fff8c0ceece7840;hb=4c6fe2cf6e1bbb279dcf5698cff315740ea6d8e8;hp=f10f2e5400b67ff5f95c96796f8bef97ee7ef38b;hpb=bc1786a24447121b5005492aaea8ca786135be29;p=kuberef.git diff --git a/functions.sh b/functions.sh index f10f2e5..69a3de7 100755 --- a/functions.sh +++ b/functions.sh @@ -163,7 +163,7 @@ provision_hosts_baremetal() { # shellcheck disable=SC2087 ssh -o StrictHostKeyChecking=no -tT "$USERNAME"@"$(get_vm_ip)" << EOF # Install and run cloud-infra -if [ ! -d "${PROJECT_ROOT}"/engine" ]; then +if [ ! -d "${PROJECT_ROOT}/engine" ]; then ssh-keygen -t rsa -N "" -f "${PROJECT_ROOT}"/.ssh/id_rsa git clone https://gerrit.nordix.org/infra/engine.git cp "${PROJECT_ROOT}"/"${VENDOR}"/{pdf.yaml,idf.yaml} \ @@ -226,7 +226,7 @@ if ! command -v docker; then sleep 2 done fi -if [ ! -d "${PROJECT_ROOT}"/container-experience-kits" ]; then +if [ ! -d "${PROJECT_ROOT}/container-experience-kits" ]; then git clone --recurse-submodules --depth 1 https://github.com/intel/container-experience-kits.git -b v21.03 "${PROJECT_ROOT}"/container-experience-kits/ cp -r "${PROJECT_ROOT}"/container-experience-kits/examples/"${BMRA_PROFILE}"/group_vars "${PROJECT_ROOT}"/container-experience-kits/ fi