Bug 1296328

Summary: [SME] Suggest changing the sequence of pre-req - make ssh keys much earlier
Product: OpenShift Container Platform Reporter: Peter Larsen <plarsen>
Component: DocumentationAssignee: Vikram Goyal <vigoyal>
Status: CLOSED NOTABUG QA Contact: Vikram Goyal <vigoyal>
Severity: unspecified Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-30 14:17:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Larsen 2016-01-06 21:58:00 UTC
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
#!/bin/bash
# Run command on all hosts
HOSTS="host1 host2 host3"
for host in $HOSTS
do
  echo Running command on host $host
  ssh $host "$@"
done
EOF
chmod 775 ~/bin/runall

This would allow the user to type "runall subscription-manager register" and "runall yum instal docker"  etc.