Skip to content

Commit

Permalink
Merge pull request Azure#456 from Azure/fix-marker
Browse files Browse the repository at this point in the history
bubble up errors
  • Loading branch information
xpillons authored Jan 22, 2021
2 parents fb1b1d8 + 9f3abc2 commit 2751bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyazhpc/azinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def create_jumpbox_script(inst, tmpdir, step):

marker = f"marker-\"'$(hostname)'\"-{step:02}-{targetscript[:targetscript.rfind('.')]}"

content += f"pssh -p {pssh_threads} -t 0 -i -h hostlists/tags/$tag \"cd {tmpdir}; test -f {marker} && echo 'script already run' || ( {cmdline} && touch {marker} || true ) \" >> {logfile} 2>&1\n"
content += f"pssh -p {pssh_threads} -t 0 -i -h hostlists/tags/$tag \"cd {tmpdir}; test -f {marker} && echo 'script already run' || ( {cmdline} && ( touch {marker} || true ) ) \" >> {logfile} 2>&1\n"

if reboot:
content += f"""
Expand Down

0 comments on commit 2751bb4

Please sign in to comment.