herzogf/homek8s

cicd: automatically build a custom raspbian image for gateway

herzogf opened this issue · 1 comments

In addition to the ansible playbooks (in the homek8s container image) to provision an existing raspberry pi / raspbian we should also offer pre-built custom raspbian images which were provisioned with the homek8s container image.

End users then could just download the homek8s raspbian image, flash it to a sd card and boot up the gateway. This dramatically reduces the overhead to create a new homek8s cluster.

Notes:

  • Delete wifi key afterwards
  • Generate ssh key pair (/homek8s/id_rsa*) on first boot instead of during ansible run OR load them from /boot partition if placed there