From: Alexandru Avadanii Date: Tue, 6 Dec 2016 22:38:54 +0000 (+0100) Subject: deploy-cache: Fix typos in bootstrap collect X-Git-Tag: danube.1.RC1~65 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=7e728d2db0fc9c9ada9aeb125947ec367473425d;p=armband.git deploy-cache: Fix typos in bootstrap collect Change-Id: I2d30e72cf218251e1b823619501454a65006dd9d Signed-off-by: Alexandru Avadanii --- 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 52e85a41..0a20fc3a 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 @@ -555,10 +555,10 @@ index 0000000..d7ec1c7 + for k in RSA_KEYPAIR_FILES: + ssh.scp_get(os.path.join(RSA_KEYPAIR_PATH, k), + local=os.path.join(cache_sha_dir, k)) -+ ssh.exec_cmd('tar cf %s %s/*', remote_tar, -+ os.path.join(NAILGUN_PATH, NAILGUN_ACT_BOOTSTRAP_SUBDIR)) ++ ssh.exec_cmd('tar cf %s %s/*' % (remote_tar, ++ os.path.join(NAILGUN_PATH, NAILGUN_ACT_BOOTSTRAP_SUBDIR))) + ssh.scp_get(remote_tar, local=local_tar) -+ ssh.exec_cmd('rm -f %s', remote_tar) ++ ssh.exec_cmd('rm -f %s' % remote_tar) + + def __extract_targetimages(self, ssh, cache_sha_dir): + """Collect target image artifacts from Fuel over SSH/SCP"""