Skip to content

Commit 720d66c

Browse files
authored
fix path in startup_script
1 parent 5037f87 commit 720d66c

File tree

1 file changed

+2
-1
lines changed
  • examples/templates/fly-docker-image

1 file changed

+2
-1
lines changed

examples/templates/fly-docker-image/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ resource "coder_agent" "main" {
281281
sudo hostname -b "${data.coder_workspace.me.name}-fly"
282282
# Install the Fly CLI and add it to the PATH
283283
curl -L https://fly.io/install.sh | sh
284-
echo "export PATH=\$PATH:/home/coder/.fly" >> ~/.bashrc
284+
echo "export PATH=\$PATH:/home/coder/.fly/bin" >> ~/.bashrc
285+
source ~/.bashrc
285286
EOT
286287
}
287288

0 commit comments

Comments
 (0)