fix: do not attempt to mount volume as user
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter 2023-06-15 18:45:40 +02:00
parent 94741b563d
commit a376de7406
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9

View file

@ -36,7 +36,7 @@ mounts:
"${volume_path}",
"/home/${username}",
ext4,
"mode=0755,uid=1000,discard,rw,suid,exec,auto,async",
"discard,rw,suid,exec,auto,async",
]
write_files:
- path: /opt/coder/init
@ -80,7 +80,6 @@ write_files:
cert: false
%{ endif ~}
runcmd:
- dnf update -y
- chown -R ${username}:${username} /home/${username}
- systemctl enable coder-agent
- systemctl start coder-agent