Update cloud-init-vm.yaml.tftpl

This commit is contained in:
2025-08-27 14:13:19 +00:00
parent ec340b7f6b
commit d42e297ca6

View File

@ -1,10 +1,11 @@
#cloud-config
package_update: true
%{ if length(each.value.extra_packages) > 0 ~}
packages:
%{ for pkg in each.value.extra_packages ~}
- ${pkg}
%{ endfor ~}
%{ endif ~}
%{ if length(each.value.extra_users) > 0 ~}
users: