What's the correct way to write a file using the cloud-config before installation? #3342
-
|
What must the For context, I have sort of a bare-bones cloud-config that I write to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Either Have you tried |
Beta Was this translation helpful? Give feedback.
Thanks for the tips. It turns that, when I deleted the
- namekey in my cloud-config, I hadfilesinstead of- files, so thefileskey was being treated as a mapping, instead of a list of mappings.This worked:
This (unsurprisingly) didn't work:
kairos-agent validatedidn't seem to catch that deviation from the YAML schema for some reason. Do you know why?