Skip to content

Commit

Permalink
Updated Privelege Escalation in HA Scripts
Browse files Browse the repository at this point in the history
  - add support for `su` in pacemaker cluster install
  - add support for `sudo` or `su` escalation using password
  • Loading branch information
devopsec committed May 30, 2024
1 parent c0f2604 commit 64640ba
Show file tree
Hide file tree
Showing 6 changed files with 771 additions and 714 deletions.
2 changes: 1 addition & 1 deletion HA/mysql/installAAGaleraReplication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ EOF
# loop through args and gather variables
i=0
for NODE in ${NODES[@]}; do
SSH_OPTS=(-o StrictHostKeyChecking=no -o CheckHostIp=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=5 -o ServerAliveCountMax=2 -x)
SSH_OPTS=( ${DEFAULT_SSH_OPTS[@]} )
RSYNC_OPTS=()

NODE_NAME="${CLUSTER_NAME}-node$((i+1))"
Expand Down
Loading

0 comments on commit 64640ba

Please sign in to comment.