Hi, all!
I've been trying to add extra trusted hosts into SmartProxy config and
tried multple ways of formatting the arguments for
–foreman-proxy-trusted-hosts, but none of them worked for me:
foreman-installer --foreman-proxy-trusted-hosts=XXX,YYY
results in
:trusted_hosts:
foreman-installer --foreman-proxy-trusted-hosts=["XXX,YYY"]
results in
:trusted_hosts:
But unless the result is like below, my SmartProxy refuses the connections:
:trusted_hosts:
How do get to this?
Thanks in advance!
Specify the argument multiple times, see
https://github.com/theforeman/kafo#array-arguments.
···
On 23/05/16 20:37, 'Konstantin Orekhov' via Foreman users wrote:
> Hi, all!
>
> I've been trying to add extra trusted hosts into SmartProxy config and
> tried multple ways of formatting the arguments for
> --foreman-proxy-trusted-hosts, but none of them worked for me:
>
> foreman-installer --foreman-proxy-trusted-hosts=XXX,YYY
> results in
> :trusted_hosts:
> - XXX,YYY
>
> foreman-installer --foreman-proxy-trusted-hosts=["XXX,YYY"]
> results in
> :trusted_hosts:
> - [XXX,YYY]
>
> But unless the result is like below, my SmartProxy refuses the connections:
> :trusted_hosts:
> - XXX
> - YYY
>
> How do get to this?
–
Dominic Cleal
dominic@cleal.org
Great, thanks! That worked like a charm!
Konstantin Orekhov