fix: do not attempt to mount volume as user
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
94741b563d
commit
a376de7406
1 changed files with 1 additions and 2 deletions
|
@ -36,7 +36,7 @@ mounts:
|
||||||
"${volume_path}",
|
"${volume_path}",
|
||||||
"/home/${username}",
|
"/home/${username}",
|
||||||
ext4,
|
ext4,
|
||||||
"mode=0755,uid=1000,discard,rw,suid,exec,auto,async",
|
"discard,rw,suid,exec,auto,async",
|
||||||
]
|
]
|
||||||
write_files:
|
write_files:
|
||||||
- path: /opt/coder/init
|
- path: /opt/coder/init
|
||||||
|
@ -80,7 +80,6 @@ write_files:
|
||||||
cert: false
|
cert: false
|
||||||
%{ endif ~}
|
%{ endif ~}
|
||||||
runcmd:
|
runcmd:
|
||||||
- dnf update -y
|
|
||||||
- chown -R ${username}:${username} /home/${username}
|
- chown -R ${username}:${username} /home/${username}
|
||||||
- systemctl enable coder-agent
|
- systemctl enable coder-agent
|
||||||
- systemctl start coder-agent
|
- systemctl start coder-agent
|
||||||
|
|
Loading…
Reference in a new issue