# {{ ansible_managed }} -- rendered by `make bootfs` # # cloud-init applies user-data once per INSTANCE, not once per boot: rewrite # user-data on a card that has already booted and nothing happens, because # cloud-init recognises the instance id and skips straight to per-boot modules. # # Deriving the id from a hash of user-data itself fixes that. Re-running # `make bootfs` with no changes leaves the id alone, so a card keeps its # identity; change anything in user-data and the id changes with it, and the # Pi re-applies the new config on its next boot without a reflash. instance-id: {{ labelprint_hostname }}-{{ labelprint_user_data_id }}