Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

Take a look at this answer here, as it goes into detail on how to achieve static IPs: https://ask.puppet.com/question/24557/razor-server-set-static-ip/?answer=24646#post-id-24646

For kickstart files with tasks, Razor includes several stock tasks for kickstarting e.g. RHEL. This is an example kickstart file that we ship as stock: https://github.com/puppetlabs/razor-server/blob/master/tasks/redhat.task/kickstart.erb

If you want to use a custom kickstart template (for this example, we'll customize the redhat task, but the same approach applies to others):

  • Make sure the config.yaml file includes a new path under task_path, e.g. task_path: /etc/razor/tasks:tasks
  • Create /etc/razor/tasks/redhat.task/kickstart.erb
  • Copy and modify the kickstart.erb file I linked above

When you boot a node that is eligible for a policy that uses the redhat task, it will pull your customized kickstart file instead of the stock kickstart file.

Let me know if you need any more info.

Scott