## template: jinja #cloud-config # packages package_update: true package_upgrade: false packages: - buildbot-slave # root disable_root: false ssh_deletekeys: true ssh_pwauth: false ssh_authorized_keys: - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVrfim4EMF7FzAnQF51frpsPgN\ JxfkzvBEC80wgwwP0AzD2iFPS57a6sXbie+sX7ALX89gmRwFtrKOwGYRYoQfU6dA\ hPirbpKY4BcTQx8N31fazceVJL0Y1kqSngNjYMbo1q0L5dgLBtPoVGcnriFAVGLg\ 1+p9FIJTDK4rbwnYyDJyjruSAfnqVaWmqlMNAZNhqxOikBOh5M+3qPj0wmSKOE1r\ oE4HmQKUl62UjDWTkLLNx5u75QywQz+r8S0QNkSu/0iaeUdgkv3p0SsU4X5dmwuZ\ dbySMWkqy0zUCky2+qDqxzN6wHgnePZcedSobsIpxwDK0IrHpbaaBzVNn1uh shu\ rdeek@nitrokey1" - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC1ADz4g7BkLoq9CEffl7jxp4Ms\ Brtv12rYpskUMV2HKH48Uwue/yjqvwxaRk4Nd0TG2fQisqsB3GYLRe+6R00zbn2k\ A5k49gQEt6EnVVlsTWSp6iutCi8CEOSxFew/r//NOJbKQPWN2yCh8TQowks+lM/z\ wlFhzfoqDjgMCU13IW/O9RphnMACnx1o/EvUeoozcCMbAzJOq4I/YOSJwavuTUUC\ lnD4tyPs1HyYVcw+4Bti1QERkE+tbbgXUAy7WvxXpEflfenHHIAnjqUCW3LUJ6wT\ roq55FQ1RT7WE+XddL5OI+o4vbQVG8cbYXwCk6/m+P051v9PfnyecI6qj8wd shu\ rdeek@yubikey1" - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7Pebz7cNpL/Hikzfwzdnujcd1\ BWw4D4e1OXQaoCGcq2/gL+Wym8InL5qZ5hOgaF8lRVX5ys7m75uOyg8LOIRu0A27\ TzWzf9brV8TF5rsIhHYSK0CAA81G5NqOQgP3b7SANcs3PEWtxz+OeqFo7dcsQZij\ czRNunM73CBsTFZQCmNE2ZBh2QaQ1d/1lmYTqGlJ8DJrqeXXVc3S1Jln2nZ49XQM\ qdG49KvU66Xhd8kaukucDBl8iNLWpQ+N9Ao1SOnNlJVpLi6XUy9Hx3X3wVbrLQaH\ slIG6+AeZGpO/l3gKrQM3fjM2H+w9ow1rWcMdHgjxWZUryE7K1vzbpm4vNIf shu\ rdeek@brusli" - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4LMmfil++N1tuQE+vz+n4KlKF\ +C8LJ08Tui5evBINMinIWsNYNXHo4zQ3jioUaiPUbMfApaexdL/6d9c69maIJr+I\ o3JJfgbYFWiFVyWIdtr4Lapv3kyGIusVp5hm5fK1ZM7dOdWStWqdZSHJIuQdv3Zg\ CJkZHFSiFnL7lxTvtIelVjBvsyROq+kH6YOdcagUY/RRzPaL58Ul0r3JcEVhhnKr\ dR21shc/6GI3irsn4Up3Bf4jRnrwiRuBJQZXMLSsn5BTMPY5HLptIlndizb5Smub\ rwErhe5OaVU8S+ZzzkWu9SfZFxHmkuhVfSnEs5GOUABrZWlleLn/OvbZcK2V shu\ rdeek@whisper.ssh" users: - name: buildbot shell: /bin/bash sudo: ALL=(ALL) NOPASSWD:ALL # system settings timezone: Europe/Vienna hostname: {{hostname}} fqdn: {{hostname}}.{{guest}}.homedevops # post boot runcmd: - [ sudo, -u, buildbot, --, buildbot-worker, create-worker, /var/lib/buildbot/workers/default, 192.168.43.1, {{buildbot_username}}, {{buildbot_password}} ] - [ systemctl, enable, buildbot-worker@default.service ] - [ systemctl, start, buildbot-worker@default.service ]