mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: remove pipefail from standard shell options (#3269)
This isn't well-supported by every POSIX shell anyways.
This commit is contained in:
@@ -75,7 +75,7 @@ resource "google_compute_instance" "dev" {
|
||||
# it.
|
||||
metadata_startup_script = <<EOMETA
|
||||
#!/usr/bin/env sh
|
||||
set -eux pipefail
|
||||
set -eux
|
||||
|
||||
mkdir /root || true
|
||||
cat <<'EOCODER' > /root/coder_agent.sh
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eux pipefail
|
||||
set -eux
|
||||
# Sleep for a good long while before exiting.
|
||||
# This is to allow folks to exec into a failed workspace and poke around to
|
||||
# troubleshoot.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eux pipefail
|
||||
set -eux
|
||||
# Sleep for a good long while before exiting.
|
||||
# This is to allow folks to exec into a failed workspace and poke around to
|
||||
# troubleshoot.
|
||||
|
||||
Reference in New Issue
Block a user