Thanks for you response Lukas,

It's a single domain for all subnets/sites otherwise could have done your 
first suggestion.

Is it the /var/lib/tftpboot/pxelinux.cfg/default file you mean to modify on 
each proxy? Will this get updated/overwritten when I hit "Build PXE Default 
button" ?

Regards,
Graham

On Monday, December 5, 2016 at 2:10:24 PM UTC, Lukas Zapletal wrote:

> 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] <javascript:>> 
> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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.

Reply via email to