Custom Disk partition layout API not available in documentation

Hi Team,

I want to create custom disk partition layout from the API but dont know the input parameter of custom layout and in the API documentation it is not mention hence incase anyone has please share.

Thanks

There are no input parameters, you simply can access @host and other variables and macros. Use the Help tab on the template edit screen for more info about available macros. It’s all the same as regular templates. Some info is here:

https://projects.theforeman.org/projects/foreman/wiki/TemplateWriting

Thanks lzap let me try & come back to you.