18 lines
482 B
Text
18 lines
482 B
Text
|
|
#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]
|