I have been tinkering around with image builder. The question I have is how to inject files in to the image. I know you can create files but It looks like the file is a one. See below example
Cloud-init files are in yml format. I am trying to accomplish something like this With foreman, cloud-init and rockey linux. But in place of vmware I am planning to use proxmox. Unless there is a way to inject multiple lines of code for the files using image builder I looked at osbuild user guide but dident find a solution.
[[customizations.files]]
path = “/etc/foobar”
mode = “0644”
user = “root”
group = “root”
data = “Hello world!”