update
This commit is contained in:
@@ -345,6 +345,7 @@ remote_exec() {
|
||||
if [[ "$node" == "$LOCAL_NODE" ]]; then
|
||||
bash -lc "$cmd"
|
||||
else
|
||||
# shellcheck disable=SC2029 # cmd is intentionally expanded into the remote command.
|
||||
ssh "${SSH_OPTS[@]}" "root@${node}" "$cmd"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user