Skip to content

Commit e61d044

Browse files
author
Yuriy Bezsonov
committed
WIP
1 parent f4ba823 commit e61d044

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

infra/scripts/ide/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
159159
if [ -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"
161161
else
162162
echo "ERROR: Template script infra/scripts/ide/${TEMPLATE_TYPE}.sh not found"
163163
exit 1

infra/scripts/ide/java-on-aws.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fi
2020

2121
# Phase 2: EKS cluster configuration
2222
log_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"
2525
else
2626
log_error "EKS cluster configuration failed"

0 commit comments

Comments
 (0)