mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(dogfood): Enable pipefail for startup_script (#6017)
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ resource "coder_agent" "dev" {
|
||||
login_before_ready = false
|
||||
startup_script_timeout = 60
|
||||
startup_script = <<-EOT
|
||||
set -ex
|
||||
set -eux -o pipefail
|
||||
# install and start code-server
|
||||
curl -fsSL https://code-server.dev/install.sh | sh -s -- --version 4.8.3
|
||||
code-server --auth none --port 13337 &
|
||||
|
||||
Reference in New Issue
Block a user