X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=patches%2Fopnfv-fuel%2Fupstream-backports%2F0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch;h=2076dfbb10fc9642ac0604f579b3a40eeed1d5c1;hb=59b095b6688e8b628ede44c282f8699bd21e4c83;hp=ae5809220a7851efe53b621e1eb5ec4575a9fd73;hpb=0567f7b0762b97a3d96cc02eb23bd2b1db3b4ee8;p=armband.git diff --git a/patches/opnfv-fuel/upstream-backports/0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch b/patches/opnfv-fuel/upstream-backports/0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch index ae580922..2076dfbb 100644 --- a/patches/opnfv-fuel/upstream-backports/0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch +++ b/patches/opnfv-fuel/upstream-backports/0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch @@ -90,7 +90,7 @@ index 0000000..71eae61 ++ if cp "${OPNFV_CACHE_PATH}/id_rsa"* "/root/.ssh/" && \ ++ cp "/root/.ssh/id_rsa.pub" "/root/.ssh/authorized_keys" && \ ++ cp "/root/.ssh/id_rsa.pub" "/etc/cobbler/authorized_keys" && \ -++ sed "s|\"ssh-rsa .*\"|\"$(cat /root/.ssh/id_rsa.pub)\"|g" \ +++ sed -i -e "s|\"ssh-rsa .*\"|\"$(cat /root/.ssh/id_rsa.pub)\"|g" \ ++ /etc/nailgun/settings.yaml && \ ++ fuel-bootstrap -v --debug import --activate \ ++ "${OPNFV_CACHE_PATH}/${OPNFV_CACHE_TAR}" >>"$bs_build_log" 2>&1; then