#cloud-config# vim: syntax=yaml### Setup hostnamehostname:berryos-log2rammanage_etc_hosts:true## Create users (respect OS default)users:-default## Configure default user accesspassword:berryosdchpasswd:{expire:false}ssh_pwauth:true## Add `azlux` APT repositoryapt:preserve_sources_list:truesources:azlux.list:source:"debhttps://packages.azlux.fr/debian/bullseyemain"key:|-----BEGIN PGP PUBLIC KEY BLOCK-----mQINBF37isoBEAC64JZHDpszH7LIBXeKaaW1oAnW4pBr+035dDffw72Nacerqf5E/64VSQcgCLH9JzGowI22mXxuEj5sOdzk74o+at9QKdc4G9ZWkIKW4/QvTEGGnZJmHp9G2bT9S6juwd+MoScZsbDDERlpxBYOPKmsajsUkVFrRfDXypSV5Z5A5FQhFJEGax2DnaDGU9WNe9k8MBF6eGBNcd8nQhBIYQhXbKNXZqu2nxUPu4XhOZHhufiz4vOiKRpjkIRjBN9uHrr6zwd4UDML7XdugVG1Bi6nbA/of9GamPDtVJAWhODu6DSZuOEEbNLLVB0g+mOIYKvwS/hSr/Ys9sIehyy5wMNM8gZL/1oQgrFY/gmKeTvqnaEgzm4xxHW9p6RA98lYJsPjOAm1fGEPvzj9KtZQ3wjTof5GHpKtk0oOPcyB6NQwrfol3c4mtqT1Oka0jhRtOMqA8HsuOplr4OJOLbrzNK2ZbhKC+6K741nMzWKJFNo0l2Q7EFlk+aUGhPkTysHyepvUXS/qTHWu77Ne9pbeYY1ezVKWrJ7GJPkGy+XGmgucT4NkcHrcraoYOzz/oeXsITD3JE9MZ66pll1/PcNOOF2HnD3hVptmtFwlRTqHnuInca6bdaidUCUBPvxa7V+WsnTqkcD+84eeojM5uJ3QHIw9ze5njBKzEySjYd3KTylhdQARAQABtBdBemx1eCA8Z2l0aHViQGF6bHV4LmZyPokCVAQTAQoAPhYhBJi4JKX6fToQ/bIlt8pUigoDEtjmBQJd+4rKAhsDBQkSzAMABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEMpUigoDEtjmAqAP/2IFL43ky4bktCjbr1Vth1WaaGc6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vA30nVMhJI7ZOfuGowiOqqO9/5lWruTEw48AJ5am0UMa30Qoo2914dwXm51VCE1r8trQDYXt7IisblN/ZOzXkDeRR9kjPDTAA7kD96sXfBvTpm2LeFG+UvvrC9pXfgPv7RlfuYl3SzNyU/dp+kO0CxCidGzkA3VSqz3ly780Czkx1+/kv/zO3NGXzngSWTRaB3V/ssIiRhlUjZwxEUR/qMDQV+oRkL/PF+WNWP+a7BUd1a38OwRWOKkerp6GbVlEfVOpu/LweD2QARAQABiQI8BBgBCgAmFiEEmLgkpfp9OhD9siW3ylSKCgMS2OYFAl37isoCGwwFCRLMAwAACgkQylSKCgMS2Oagwg//SRBFPqt8LDfGWlULJBBuI/7KRs4J5e8ojbObYcXRp60z1cMvKW6eJNwUMGQij/BauTyCTNNyJO2l9gSp+QkrVl+CHlsIxOVNQ9MDDAFfgymxMsofdLDe1azoWnIHlJcqYWhE4jrj9X1sRCbhVeD23qeok9hSNNg8JqkIA9Cj9cUy0cSQUvTwUb16lYUyGJxwcw+dUwJun1tKqSR47Gh5FTfcbVbxIbqKyfVFvZo3JmgcVb4STeotvlh5VQUTOvq2rJpCPjky6+gBQUKmOkWYiK3el08qnZUn74/auj95Aoc8vvFQ7hGwnDP7Yk1ApiQWXVeWpC67Y6ylwsnOgYfnRnQ20xEBllYJL+dD6sUqakK14F73j/PpA6o0+pEL4PUoX7AbIVVKK5AqQv5TDCo/eCp1D+lxuFKJkspu+Hq5pilLxmgLbFJ8KIa/tG26pFmvJX7XjIaK1xkUGt19mCO4EtEnrA2weUYtyMZvZmzMwfCl5epnIH1xETBcxXWFMSBfoAqz/KuYutrgAHNGWi316+dyQMq6jDfNFbzIB/rTwd4NdLFoLhyvqR07ybgV2tV+0MpPGkNY/gXCCjn/uPs+H2G1EH2GtGrvF25796bPH9wRm6PhhH64nfWOQ8+JSkORYQnNOFjDFo7L2vHBFg5iwfqe2mLgZ5Rq3g3t5v7oY/8==sXvI-----END PGP PUBLIC KEY BLOCK-----## Update system and install required packagespackage_update:truepackage_upgrade:truepackage_reboot_if_required:truepackages:-log2ram## Create config fileswrite_files:-path:/etc/systemd/journald.confpermissions:"0644"owner:root:rootcontent:|[Journal]SystemMaxUse=16M-path:/etc/log2ram.confpermissions:"0644"owner:"root:root"content:|## Configuration file for Log2Ram (https://github.com/azlux/log2ram) under MIT license.SIZE=64MMAIL=falsePATH_DISK="/var/log"ZL2R=falseCOMP_ALG=lz4LOG_DISK_SIZE=150M## Start log2ram on bootruncmd:-systemctl enable log2ram## Reboot after provisioningpower_state:mode:reboot