File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ echo "$(date '+%Y-%m-%d %H:%M:%S') - Running setup for template type: $TEMPLATE_
157157
158158# Run template-specific setup script
159159if [ -f " infra/scripts/ide/${TEMPLATE_TYPE} .sh" ]; then
160- sudo -u ec2-user bash " infra/scripts/ide/${TEMPLATE_TYPE} .sh"
160+ sudo -H -i - u ec2-user bash -c " $( pwd ) / infra/scripts/ide/${TEMPLATE_TYPE} .sh"
161161else
162162 echo " ERROR: Template script infra/scripts/ide/${TEMPLATE_TYPE} .sh not found"
163163 exit 1
Original file line number Diff line number Diff line change 2020
2121# Phase 2: EKS cluster configuration
2222log_info " Phase 2: Configuring EKS cluster..."
23- if " $SCRIPT_DIR /../setup/eks.sh" ; then
23+ if bash " $SCRIPT_DIR /../setup/eks.sh" ; then
2424 log_success " EKS cluster configuration completed"
2525else
2626 log_error " EKS cluster configuration failed"
You can’t perform that action at this time.
0 commit comments