Without authentication:
[archy@katello ~]$ export http_proxy='http://proxy.archyslife.lan:3128'
[archy@katello ~]$ export https_proxy='http://proxy.archyslife.lan:3128'
With authentication: [archy@katello ~]$ export http_proxy='http://user:password@proxy.archyslife.lan:3128'
[archy@katello ~]$ export https_proxy='http://user:password@proxy.archyslife.lan:3128'
Now, the syncing with pulp won't utilize these variables, neither the http_proxy setting that can be done in the foreman GUI. What I've found to be the most useful is editing the katello.yml file and running the installer with some options.First, edit the /etc/foreman/plugins/katello.yaml file and append these lines to it:
[archy@katello ~]$ sudo vim /etc/foreman/plugins/katello.yaml
:cdn_proxy:
:host: http://172.24.64.11
:port: 8080
:user:
:password:
Be aware of the indenting of the file, yaml is very sensitive of that. Second, run the installer with some proxy options so that you're making sure, foreman will be made aware of the settings changed.Without authentication:
[archy@katello ~]$ sudo katello-installer --katello-proxy-url=http://proxy.archyslife.lan --katello-proxy-port=3128
With authentication: [archy@katello ~]$ sudo katello-installer --katello-proxy-url=http://proxy.archyslife.lan --katello-proxy-port=3128 --katello-proxy-username=username --katello-proxy-password=password
Once the installer has run successfull your content sync will be done with the proxy options you've specified.Feel free to comment and / or suggest a topic.
Comments
Post a Comment