Red Hat Bugzilla – Bug 1296328
[SME] Suggest changing the sequence of pre-req - make ssh keys much earlier
Last modified: 2016-01-06 16:58:00 EST
Document URL: https://docs.openshift.com/enterprise/3.1/install_config/install/prerequisites.html
This guides ends with setting up ssh keys. Most of the commands could easily be done on all systems once the ssh key is setup. Ie. if a user adds a file like:
cat <<EOF > ~/bin/runall
# Run command on all hosts
HOSTS="host1 host2 host3"
for host in $HOSTS
echo Running command on host $host
ssh $host "$@"
chmod 775 ~/bin/runall
This would allow the user to type "runall subscription-manager register" and "runall yum instal docker" etc.