Skip to content

Commit

Permalink
Allow cluster-sync-node to continue when other nodes are down
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Bacon committed May 28, 2022
1 parent 464f181 commit 75d62b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Common/Sys-scripts/cluster-run
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ for node in $selected_nodes; do
if [ $node = "localhost" ]; then
ssh_cmd="sh -c"
else
ssh_cmd="ssh $flags $node"
ssh_cmd="ssh -o ConnectTimeout=10 $flags $node"
fi

if [ $parallel = 1 ]; then
Expand Down
2 changes: 1 addition & 1 deletion Common/Sys-scripts/cluster-sync-files
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ case `auto-ostype` in
FreeBSD)
# Assume login.conf was modified. No harm in this.
printf "Rebuilding login.conf db...\n"
cluster-run 'cap_mkdb /etc/login.conf' compute
cluster-run -c 'cap_mkdb /etc/login.conf' compute || true
;;
*)
;;
Expand Down

0 comments on commit 75d62b1

Please sign in to comment.