ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
18
terraform/external/oci-relay/cloud-init.yaml.tftpl
vendored
Normal file
18
terraform/external/oci-relay/cloud-init.yaml.tftpl
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#cloud-config
|
||||
write_files:
|
||||
- path: /etc/hosts
|
||||
append: true
|
||||
content: |
|
||||
${gateway_relay_address} ${log_ingest_hostname}
|
||||
- path: /etc/oci-l4-relay/config.json
|
||||
owner: root:root
|
||||
permissions: "0600"
|
||||
content: |
|
||||
${indent(6, config_json)}
|
||||
- path: /etc/oci-l4-relay-smtp-evidence.json
|
||||
owner: root:root
|
||||
permissions: "0444"
|
||||
content: |
|
||||
${indent(6, smtp_evidence_config_json)}
|
||||
runcmd:
|
||||
- [systemctl, start, oci-l4-relay-bootstrap.service]
|
||||
Loading…
Reference in a new issue