Browse Source

Use printf for creating multiline key

Change-Id: If9872a68495ab95d8e25394a658676314aaf2795
Sergey Reshetnyak 2 years ago
parent
commit
99e4bd5878
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      service/files/run-tempest.sh.j2

+ 1
- 1
service/files/run-tempest.sh.j2 View File

@@ -13,7 +13,7 @@ function publish_artifacts {
13 13
     # TODO: add junit report
14 14
 
15 15
     local private_key_path="private.key"
16
-    echo "{{ rally.tempest.static.private_key }}" > "${private_key_path}"
16
+    printf "{{ rally.tempest.static.private_key }}" > "${private_key_path}"
17 17
     chmod 600 "${private_key_path}"
18 18
     scp -i "${private_key_path}" "${path}" {{ rally.tempest.static.username }}@{{ rally.tempest.static.host }}:{{ rally.tempest.static.port }}:
19 19
     echo "Artifacts are located to {{ rally.tempest.static.site }}/${path}"

Loading…
Cancel
Save