Bug 1296328 - [SME] Suggest changing the sequence of pre-req - make ssh keys much earlier
Summary: [SME] Suggest changing the sequence of pre-req - make ssh keys much earlier
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-06 21:58 UTC by Peter Larsen
Modified: 2017-12-30 14:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-30 14:17:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.