lago
lago copied to clipboard
[WIP] clod-init: Adding cloud init support
-
user-data
andmeta-data
can be specified directly under thecloud-init
key in each domain definition. The content can be specified explicitly or by adding path to a file. -
For each domain, ISO file is generated and attached to the domain.
-
Default settings can be found in the default templates which later will be modified using Jinja.
-
Merge between user defined settings and default setting is done by utils.deep_update
Example:
domains:
atomic-el:
cloud-init:
user-data:
write_files:
- path: /root/test
content: bla_bla_bla
users:
- name: galito
chpasswd:
list: |
galito:galgal
Signed-off-by: gbenhaim [email protected]
ci test please
I still need to complete the docstrings and do some cosmetics, but the overall functionality and basic unit/functional tests are implemented.