Updated the user group settings to only include 'sudo' group, removing unnecessary groups. This change improves code readability and maintainability.
16 lines
209 B
Django/Jinja
16 lines
209 B
Django/Jinja
#cloud-config
|
|
packages:
|
|
{% for pkg in packages %}
|
|
- {{ pkg }}
|
|
{% endfor %}
|
|
|
|
{% if dns %}
|
|
manage_resolv_conf: true
|
|
|
|
resolv_conf:
|
|
nameservers:
|
|
{% for ns in dns %}
|
|
- {{ ns }}
|
|
{% endfor %}
|
|
{% endif %}
|