fix: force bash for remote kubeadm commands
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 18s
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 18s
This commit is contained in:
@@ -79,7 +79,9 @@ populate_nodes() {
|
||||
remote() {
|
||||
local host_ip="$1"
|
||||
local cmd="$2"
|
||||
ssh $SSH_OPTS "$ACTIVE_SSH_USER@$host_ip" "$cmd"
|
||||
local quoted_cmd
|
||||
quoted_cmd="$(printf '%q' "$cmd")"
|
||||
ssh $SSH_OPTS "$ACTIVE_SSH_USER@$host_ip" "bash -lc $quoted_cmd"
|
||||
}
|
||||
|
||||
detect_ssh_user() {
|
||||
|
||||
Reference in New Issue
Block a user