#alpine-config user: name: ${user} password: ${password} chpasswd: expire: False apk: repositories: - base_url: https://mirrors.ircam.fr/pub/alpine/ repos: [ "main", "community" ] package_update: true packages: - tmux - vim - openssh-server - openssh-sftp-server users: - name: root lock-passwd: false passwd: ${root_password} ssh_authorized_keys: %{ for sk in ssh_keys ~} - ${sk} %{ endfor ~} ssh_authorized_keys: %{ for sk in ssh_keys ~} - ${sk} %{ endfor ~} %{ if files != [] ~} write_files: %{ for fl in files ~} - path: ${fl.path} owner: ${fl.owner}:${fl.group} permissions: '0${fl.permissions}' content: | %{ for li in fl.content ~} ${li} %{ endfor ~} %{ endfor ~} %{ endif ~} %{ if runcmd != [] ~} # Work around network interface down after boot runcmd: %{ for cmd in runcmd ~} - ${cmd} %{ endfor ~} %{ endif ~}