Merging kickstart options into snippet

Hello, I am adding VLAN support into PXELinux, Grub2 and iPXE kickstart templates and I realized that most of these ERB templates are composing the kernel command line. We have this code copied in all of these, however it’s always the same - linux kernel command line options for anaconda (and for debian installer as well) are same.

So I am wondering if it makes sense to create a common snippet and include it from all the templates. I believe this could iron out those errors when we make a change in PXELinux template but forget it in Grub2 or iPXE etc.

1 Like