Default pxe template per smart proxy

We are having one foreman with two domains, each domain is managed by smart proxy. First smart proxy is on foreman itself. Second proxy is in different location and it has two networks, first for connection to foreman and second for to network with managed system.

I would like to create default PXEgrub2 template for each smart proxy. Because one is using mirror repository eg. and second
I would like to put variable to default PXEgrub2 template, but that is not possible.

Expected outcome:
I am able to have one template with parameter of mirror script which I can deploy to both smart proxy.
I am able to select default PXEgrub2 for each instance separately.

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Other relevant data:
We are able to use subnet parameter for ‘managed’ deployment but not for default grub.cfg


This is a long-term limitation/bug, the only workaround is to edit the file locally. Make it read-only so no one accidentally overwrites it from Foreman. That’s all I can tell you for now.