Skip to content

Instantly share code, notes, and snippets.

@palmertime
Created August 19, 2016 18:43
Show Gist options
  • Save palmertime/db1bbb58bfb8198e483023437593ae9e to your computer and use it in GitHub Desktop.
Save palmertime/db1bbb58bfb8198e483023437593ae9e to your computer and use it in GitHub Desktop.
capsule scenario
capsule-certs-generate --capsule-fqdn "cap.example.com" --certs-tar "~/cap.example.com-certs.tar"
Installing Done [100%] [....................................................]
Success!
To finish the installation, follow these steps:
If you do not have the smartproxy registered to the Katello instance, then please do the following:
1. yum -y localinstall http://katello.examle.com/pub/katello-ca-consumer-latest.noarch.rpm
2. subscription-manager register --org "Default_Organization"
Once this is completed run the steps below to start the smartproxy installation:
1. Ensure that the foreman-installer-katello package is installed on the system.
2. Copy ~/cap.example.com-certs.tar to the system cap.example.com
3. Run the following commands on the capsule (possibly with the customized
parameters, see foreman-installer --scenario capsule --help and
documentation for more info on setting up additional services):
foreman-installer --scenario capsule\
--capsule-parent-fqdn "katello.example.com"\
--foreman-proxy-register-in-foreman "true"\
--foreman-proxy-foreman-base-url "https://katello.example.com"\
--foreman-proxy-trusted-hosts "katello.example.com"\
--foreman-proxy-trusted-hosts "cap.example.com"\
--foreman-proxy-oauth-consumer-key "xxxxxxxx"\
--foreman-proxy-oauth-consumer-secret "xxxxxxxx"\
--capsule-pulp-oauth-secret "xxxxxxxx"\
--capsule-certs-tar "~/cap.example.com-certs.tar"
The full log is at /var/log/capsule-certs-generate.log
foreman-installer --scenario capsule --parent-fqdn "katello.example.com" --register-in-foreman "true" --foreman-base-url "https://katello.example.com" --trusted-hosts "katello.example.com" --trusted-hosts "cap.example.com" --oauth-consumer-key "xxxxxxx" --oauth-consumer-secret "xxxxxxx" --pulp-oauth-secret "xxxxxxx" --certs-tar "~/cap.example.com-certs.tar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment