Custom DataSource¶
Custom 3rd-party out-of-tree DataSources can be added to cloud-init by:
Implement a DataSource in a Python file.
Place that file in as a single Python module or package in folder included in
$PYTHONPATH
.Extend the base configuration’s datasource_pkg_list to include the Python package where the DataSource is located.
Extend the base-configuration’s datasource_list to include the name of the custom DataSource.