Skip to content

Commit 8d41680

Browse files
authored
chnage dir of coder_agnet to /home/coder
When the directory was set to `/home/coder/coder`, `startup_script` installs everything in the specified directory. As `/home/coder/coder` is a git repo so git complains about unstaged files and either we have to dlete those files to populate in .gitignore.
1 parent e0d7673 commit 8d41680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dogfood/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ resource "coder_agent" "dev" {
8686
arch = "amd64"
8787
os = "linux"
8888

89-
dir = data.coder_parameter.repo_dir.value
89+
dir = "/home/coder"
9090
env = {
9191
GITHUB_TOKEN : data.coder_git_auth.github.access_token,
9292
OIDC_TOKEN : data.coder_workspace.me.owner_oidc_access_token,

0 commit comments

Comments
 (0)