Katello / katello-client-bootstrap

Bootstrap Script for migrating systems to Foreman & Katello
GNU General Public License v2.0
52 stars 63 forks source link

Add multiple REX options. See issues #204 #210 #220 (and PR220) #253

Closed fcami closed 5 years ago

fcami commented 6 years ago

--rex-capsules: Comma separated list of capsules to install Foreman's SSH keys for remote execution. It will iterate all over the list of capsules. If one fails user is notified by the task keeps going until all capsules were tried.

--rex-urlkeyfile: HTTP/S location to install a file containing one or multiple Foreman's SSH keys for remote execution. Instead of iterate you can create file on /pub folder that contains all ssh public keys of several capsules and tell bootstrap.py to fech it and install on the local user authorized keys file.

--rex-authpath. Local folder where is placed the authorized_keys file to install Foreman's SSH keys for remote execution. Default ~/.ssh. I found that several customers specifies AuthorizedKeysFile on sshd_config on a different path.

Closes: #204 Closes: #210 (cherry picked from commit 299b0349c3168e0cf0a5473e2a1a3e967b98a0ef)

Authored-by: Alberto Losada alosadag@redhat.com Rebased-by: Evgeni Golov evgeni@golov.de Rebased-by: François Cami fcami@fedoraproject.org

fcami commented 6 years ago

Please hold - I'll fix it

evgeni commented 5 years ago

obsoleted by https://github.com/Katello/katello-client-bootstrap/pull/281