matrixtest-IaC/lb-user.tpl

20 lines
324 B
Smarty
Raw Permalink Normal View History

2024-02-11 17:15:16 +00:00
#cloud-config
packages:
- chrony
- git
- lvm2
- xfsprogs
write_files:
- path: /etc/chrony/chrony.conf
permissions: "0644"
content: |
%{ for line in split("\n",file("chrony.conf")) ~}
${line}
%{ endfor ~}
owner: root:root
runcmd:
- [ systemctl, enable, chronyd ]
- systemctl restart chronyd