You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, templates are useful to generate text files in the target filesystem. It would be great to have a similar concept to generate binary file (or arbitrary file).
The idea is to introduce a new concept, let's call it a "generator" at the module level (like files, templates and scripts). Basically, it would contain scripts that generate files. One script generate one file.
Generator would be organised in a tree (exactly like templates). For instance the script generator generator/var/lib/data.bin.sh would generated a file /var/lib/data.bin
The text was updated successfully, but these errors were encountered:
Currently, templates are useful to generate text files in the target filesystem. It would be great to have a similar concept to generate binary file (or arbitrary file).
The idea is to introduce a new concept, let's call it a "generator" at the module level (like files, templates and scripts). Basically, it would contain scripts that generate files. One script generate one file.
Generator would be organised in a tree (exactly like templates). For instance the script generator
generator/var/lib/data.bin.sh
would generated a file/var/lib/data.bin
The text was updated successfully, but these errors were encountered: