nvazquez opened a new pull request, #7643: URL: https://github.com/apache/cloudstack/pull/7643
### Description This PR introduces the concept of a user data provider to handle the user data concatenation in case a template has an APPEND policy and a VM also has user data. The cloud-init user data provider is added as the default provider. It concatenates the template and VM user data as a multipart MIME message Supported data formats: https://cloudinit.readthedocs.io/en/latest/explanation/format.html#user-data-formats ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [x] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [ ] Major - [x] Minor #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [x] Minor - [ ] Trivial ### Screenshots (if appropriate): ### How Has This Been Tested? - Add user data for different types (cloud-config, bash scripts) - Register a template and link userdata with APPEND policy - Deploy VM from the template and link another existing userdata - Verify the generated user data is a multipart MIME message -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
