Open thielj opened 3 months ago
Document how custom / experimental / non-standard items can be added to user data without triggering schema errors
No such feature exists currently. Which schema errors do you want to avoid?
Sorry, I should have been more precise.
Currently, there's just a warning in the log. I wouldn't want to see this turn into a hard error someday, or see non-standard sections disappear from the merged data.
Sorry, I should have been more precise.
Currently, there's just a warning in the log. I wouldn't want to see this turn into a hard error someday, or see non-standard sections disappear from the merged data.
Could you give an example please?
@holmanb Nothing exciting really, just the ability to add a custom section that isn't going to disappear or cause conflicts in a future cloud-init release.
x-ourstuff:
my_machine_id: f18f1218-d8be-4c4d-92c0-bf1703d4e135a
cifs:
storageaccount.file.core.windows.net:
/mnt/files: [ files, root, users, '0660', '0770' ]
packages: [ ourstuff-init, ourstuff-whatever ]
apt:
sources:
ourstuff:
source: 'deb [trusted=yes] https://packages.example.com ourstuff/'
Are you referring to third party / downstream config modules?
Enhancement
Document how custom / experimental / non-standard items can be added to user data without triggering schema errors, e.g. using an
x-
prefix: