feat ✨: Added new feature to generate Debian VM templates and deploy clones
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.
This commit is contained in:
14
templates/cloudinit_vendor.yaml.j2
Normal file
14
templates/cloudinit_vendor.yaml.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
#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 %}
|
||||
Reference in New Issue
Block a user