wip
This commit is contained in:
parent
78a0d14863
commit
250b64e44f
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user