airshipctl/krm-functions/cloud-init
Andrii Ostapenko 6ac83b3796 Revert "Build iso image in a single phase"
Commit breaks iso/qcow consistency and needs to be reintroduced
together with cloud-init moved to image-builder

This reverts commit e8606af544.

Change-Id: Ib45d6a5ba960eba937c2f54fbf703b2cd85ee190
2021-11-19 20:36:13 +00:00
..
local-resource Build ephemeral iso using generic container 2021-02-25 13:08:31 +00:00
Dockerfile Revert "Build iso image in a single phase" 2021-11-19 20:36:13 +00:00
main.go Revert "Build iso image in a single phase" 2021-11-19 20:36:13 +00:00
README.md Build ephemeral iso using generic container 2021-02-25 13:08:31 +00:00

Cloud-init

This function generates yaml files (user-data and network-data) needed for building the bootstrap ISO image. It assumes a ResourceList is passed to its input where items field is a phase executor document bundle that contains necessary data. To get the data from the bundle the functionConfig field must contain IsoConfiguration document that defines document selector parameters.