Closed dharmab closed 1 month ago
Using source field in write_files module fails schema validation
source
write_files
sample init file: https://github.com/dharmab/skyeye/blob/9078b284b5ebb94e9d4dad3273f42bbc8e60d199/init/cloud-init/ubuntu.yaml
Validation using cloud-init schema outputs:
cloud-init schema
Error: Cloud config schema errors: write_files.0: Additional properties are not allowed ('source' was unexpected), write_files.1: Additional properties are not allowed ('source' was unexpected)
/usr/bin/cloud-init 24.2-0ubuntu1~24.04.2
cloud-init.log
Looks like Ubuntu is shipping a slightly older version of cloud-init?
Bug report
Using
source
field inwrite_files
module fails schema validationSteps to reproduce the problem
sample init file: https://github.com/dharmab/skyeye/blob/9078b284b5ebb94e9d4dad3273f42bbc8e60d199/init/cloud-init/ubuntu.yaml
Validation using
cloud-init schema
outputs:Environment details
/usr/bin/cloud-init 24.2-0ubuntu1~24.04.2
cloud-init logs
cloud-init.log