scripts/devhost.cloud-init.yaml
Ref: Size: 779 B History
#cloud-config
# Seed for a nested dev host (scripts/devhost.sh). It carries the bare minimum
# to let `make deploy` in: a user with the workstation's key and passwordless
# sudo. Nothing eitri needs is installed here — cloud-hypervisor, the guest
# firmware and the agent itself all arrive through the deploy and the agent's
# own bootstrap, which is precisely the code path a branch gate should be
# exercising rather than skipping.
#
# ${SSH_AUTHORIZED_KEY} is substituted by devhost.sh from the local key.
users:
- name: ubuntu
sudo: "ALL=(ALL) NOPASSWD:ALL"
shell: /bin/bash
lock_passwd: true
ssh_authorized_keys:
- ${SSH_AUTHORIZED_KEY}
package_update: true
packages:
- qemu-guest-agent
runcmd:
- [systemctl, enable, --now, qemu-guest-agent]