This commit is contained in:
35C4n0r 2025-12-05 19:18:01 +05:30
parent 78a0d14863
commit 250b64e44f
No known key found for this signature in database
GPG Key ID: 5B71E5C9D18D5675

View File

@ -348,12 +348,9 @@ resource "coder_script" "install_agent" {
log_path = "/home/coder/${local.module_dir_name}/install.log"
script = <<EOF
#!/bin/bash
set -o errexit
set -o pipefail
set -x
mkdir -p "/home/coder/${local.module_dir_name}/install.log"
echo -n '${base64encode(local.install_script)}' | base64 -d > /tmp/install.sh
echo -n '${base64encode(local.start_script)}' | base64 -d > /tmp/start.sh