suse-agama/files¶
Custom files to deploy on installed SLES 16+ system
Array of files to deploy to the installed system during Agama installation. This provides extensibility similar to AutoYaST's additional-templates but with a simpler JSON structure.
Each file object supports: - destination: (required) Absolute path where file will be created - content: File contents as a string (use this OR url) - url: URL to fetch file from (use this OR content) - permissions: File permissions (e.g., "0644", "0755") - user: Owner user (must exist on system) - group: Owner group (must exist on system)
Example (JSON format): [ { "destination": "/etc/myapp/config.yaml", "content": "setting: value\nother: 123", "permissions": "0640", "user": "root", "group": "root" }, { "destination": "/opt/scripts/setup.sh", "url": "http://myserver/setup.sh", "permissions": "0755" } ]
Example (YAML format with multiline content): - destination: /etc/myapp/config.conf content: | server=localhost port=8080 debug=true permissions: "0644" user: root group: root - destination: /opt/scripts/setup.sh url: http://myserver/setup.sh permissions: "0755"
Note: For complex logic or DRP variable expansion, use post-install scripts instead. The files section deploys static content only.
Objects that Reference suse-agama/files¶
- templates agama-sles.json.tmpl in Other OSes Installers as part of Contents (used)
Objects used by suse-agama/files¶
Not used in current content packs