From 7e728d2db0fc9c9ada9aeb125947ec367473425d Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 6 Dec 2016 23:38:54 +0100 Subject: deploy-cache: Fix typos in bootstrap collect Change-Id: I2d30e72cf218251e1b823619501454a65006dd9d Signed-off-by: Alexandru Avadanii --- .../0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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""" -- cgit 1.2.3-korg