Статья Using Template Files with HashiCorp Packer Learn abo | Mops DevOps
Статья Using Template Files with HashiCorp Packer
Learn about the new HCL2-only templatefile function and how to use it in an http_content to preseed a virtual machine.
In HashiCorp Packer 1.7, we tagged HCL2 as stable and implemented HCL2-only functions. You can use one such function, the templatefile function to build multiple operating systems with less duplication of configuration.