Edit template startup script
Hi everyone,
I was trying to modify the startup script of the coder agent of a template. According to the doc, i pull & decompress the template with
I have now the config files from the template, i edit the coder agent with :
Finally i push everything and i recreate a new template but nothing have change.
Any ideas ?
thanks đŸ™‚
5 Replies
Edit based on https://github.com/coder/coder/blob/main/examples/templates/docker-image-builds/main.tf
GitHub
coder/main.tf at main · coder/coder
A tool that provisions remote development environments via Terraform - coder/main.tf at main · coder/coder
Seens eveything stopped when the command : "code-server --auth none" is executed
I think you forgot to push it to background by using
put a
&
after that and tryFixed when calling this command at the end of the script, i will try this. Thanks for your help ! đŸ™‚
Marked the thread as resolved.