Bare-metal ISO with cloud-config.yml

I’m trying to have an ISO with cloud-config in order to install in some bare-metal servers. How do I do that?

Hi,
i have exactly the same problem.

I have seen, that there is a config parameter
rancher.cloud_init.datasources
see here https://rancher.com/docs/os/v1.x/en/installation/running-rancheros/server/pxe/

I have tried to configure cmdline and url.

I even see (with url datasource) some connections to my webserver. But I cannot see any access to the files in the folder.

So my questions:

  • url datasource:
    Has there to be a specific folder/file layout?
  • cmdline datasource
    does the http link have to point directly to a user_data file with #!cloud-init?

Kind regards
iced-tux