This commit introduces a new feature that allows users to create Debian VM templates and deploy clones. The feature includes options for customizing the template, such as making it a template or creating clones from it.
15 lines
209 B
Django/Jinja
15 lines
209 B
Django/Jinja
#cloud-config
|
|
packages:
|
|
{% for pkg in packages %}
|
|
- {{ pkg }}
|
|
{% endfor %}
|
|
|
|
{% if dns %}
|
|
manage_resolve_conf: true
|
|
resolv_conf:
|
|
nameservers:
|
|
{% for ns in dns %}
|
|
- {{ ns }}
|
|
{% endfor %}
|
|
{% endif %}
|