deploy-cache: Fix typo in nailgun settings sed
[armband.git] / patches / opnfv-fuel / upstream-backports / 0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch
index ae58092..2076dfb 100644 (file)
@@ -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