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
- name
key in my cloud-config, I hadfiles
instead of- files
, so thefiles
key was being treated as a mapping, instead of a list of mappings.This worked:
This (unsurprisingly) didn't work:
kairos-agent validate
didn't seem to catch that deviation from the YAML schema for some reason. Do you know why?