nf templates
The nf templates command manages configuration templates used during node provisioning.
Templates control how nodes are configured when they first boot — including kickstart files, network configuration scripts, and other provisioning artifacts. You can list the available templates and update their content as needed.
Usage
$ nf templates list $ nf templates update --name <template> --content <content>
Commands
nf templates list
nf templates listList all available templates with their name and description.
| Flag | Description |
|---|---|
--json | Output results as JSON |
nf templates update
nf templates updateUpdate a template's content. The template must already exist.
| Flag | Description |
|---|---|
--name | Template name (required) |
--content | Template content (string or use shell substitution) (required) |
Examples
$ nf templates list kickstart Default kickstart configuration network Network setup script
$ nf templates update --name kickstart --content "$(cat my-kickstart.cfg)" Template updated