You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi all.
I've been working on creating a elastic custom image to be used on my AWS account but I'm not able to change the tempDir property configured on the SystemInfoImpl class.
Since my base AMI do not allow scripts being executed from /tmp, I've been facing some issues to spin up my elastic agents.
Does anyone have faced this issue before and knows how to change the tempDir path to a different directory?
Thank you!
Felipe
You need to follow solution how to change memory settings: https://confluence.atlassian.com/bamkb/outofmemory-errors-in-bamboo-elastic-agent-826899144.html and update it to include setting of java.io.tmpdir
For example this code set Temp folder to /tmp/bamboo
sed -i 's@.*MARKER.*@sed -i "s/-Xmx256m/-Xmx256m -Djava\\\\.io\\\\.tmpdir=\\/tmp\\/bamboo\\//" $startupScript@' /opt/bamboo-elastic-agent/bin/bamboo-elastic-agent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.