Problem:
Hi folks,
it’s not clear to me if the “foreman-installer --scenario katello” can be used again, after the installation, to make incremental changes to the current configuration without loosing/resetting or “ruining” the current setup/data.
Being more specific, let’s say after the installation I’ve made some changes and now I only want to add the “http proxy” URL (for syncing packages with remote repos, something that I didn’t in the first place).
Can I use the “foreman-installer --scenario katello --katello-proxy-url …” command safely, or should I make changes directly to the config files? (such as /etc/foreman/plugins/katello.yaml, /etc/pulp/server/plugins.conf.d/yum_importer.json etc., as someone suggested here: https://access.redhat.com/discussions/1348283)
Foreman and Proxy versions:
I’m using foreman-1.20/katello-3.10 on a CentOS 7 VM as a lab machine in our datacenter and the internet access is permitted only through an http proxy server. The 3.10 version was chosen with the intention to be close as much as possible to Satellite 6.5 (not sure however if this assumption is right).
Other relevant data:
installation command:
foreman-installer --scenario katello --enable-foreman-plugin-ansible --enable-foreman-plugin-bootdisk --enable-foreman-plugin-discovery --enable-foreman-plugin-hooks --enable-foreman-plugin-openscap --enable-foreman-plugin-remote-execution --enable-foreman-plugin-templates
I’ve also tried by changing the http proxy setting in the administration section via the Web/UI, but I’m unable to tell if it is working correctly: a quick check on the netstat/ss ouptput does not show any connection towards the http proxy server and the sync task always hangs on 0%.
Regards,
Alessandro