Skip to content

Commit

Permalink
Update find_available_utcs_host.py
Browse files Browse the repository at this point in the history
The cshosts command returns an error when run through ssh, but providing the absolute path to the command fixes the issue
  • Loading branch information
ArnavIyer authored Aug 23, 2023
1 parent a1c3e47 commit 8823306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/find_available_utcs_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_machines(username):
"ssh",
"-oStrictHostKeyChecking=no",
f"{username}@linux.cs.utexas.edu",
"cshosts pub"
"/lusr/bin/cshosts pub"
], stderr=subprocess.DEVNULL).decode("utf-8")
machines = output.splitlines()
shuffle(machines)
Expand Down

0 comments on commit 8823306

Please sign in to comment.