Hello, I don't undestand exactly, but if you have separate domains for the separate subnets, you simply put URL to your proxy for each domain separately (use https://proxy.network1.com:8443 notation in SRV records) and you keep proxy.type=proxy in the kernel command line so discovery node will use proxy API instead foreman API.
Alternatively, you need to modify the default PXE template on each individual proxy because Foreman currently can't do this (it only supports one generic template for all proxies). LZ On Thu, Dec 1, 2016 at 2:43 PM, Graham <[email protected]> wrote: > Hi, > > I'm using foreman 1.11 and discovery image 3.1.1 - and need to provision > locally i.e. multiple smart proxies - different sites and subnets, single > domain. > > I've configured the _x-foreman._tcp SRV record in DNS and removed the > *proxy.url= > in *PXELinux global default template, and discovery works correctly in > isolation, but when dealing with multiple sites routes to an incorrect > smart proxy. > How can you force discovery onto the local smart proxy? > > Regards, > Graham > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > -- Later, Lukas @lzap Zapletal -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
