diff --git a/README.md b/README.md index 1bf5f3c..2b21e9d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Install Openshift 4.6.11 on AWS (Internal Red Hat) +# Install Openshift 4.7.4 on AWS (Internal Red Hat) OpenShift 4 AWS Installation IPI at OpenTLC ### Prerequisite @@ -11,7 +11,7 @@ OpenShift 4 AWS Installation IPI at OpenTLC ``` ### Step 2: Clone Preparation script from Git and Change below parameter ```bash -> git clone https://github.com/erfinfeluzy/ocp4-at-opentlc.git +> git clone https://github.com/okkyhtf/ocp4-at-opentlc.git > cd ocp4-at-opentlc/ > vim prepare-openshift-installer.sh ``` @@ -20,7 +20,7 @@ OpenShift 4 AWS Installation IPI at OpenTLC export AWSKEY={AWSKEY generated from opentlc} export AWSSECRETKEY={AWSSECRETKEY generated from opentlc} export REGION=ap-southeast-1 -export OCP_VERSION=4.6.11 +export OCP_VERSION=4.7.4 export GUID={GUID generated from opentlc} ``` diff --git a/prepare-openshift-installer.sh b/prepare-openshift-installer.sh index b89ba61..cda9a25 100755 --- a/prepare-openshift-installer.sh +++ b/prepare-openshift-installer.sh @@ -1,11 +1,11 @@ #!/bin/env bash # Make sure you setup these ENV variables -export AWSKEY= -export AWSSECRETKEY= +export AWSKEY=CHANGETHIS +export AWSSECRETKEY=CHANGETHIS export REGION=ap-southeast-1 -export OCP_VERSION=4.6.11 -export GUID= +export OCP_VERSION=4.7.4 +export GUID=CHANGETHIS set -xe @@ -16,7 +16,10 @@ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscli-bundl unzip ./awscli-bundle.zip # Install the AWS CLI into /bin/aws -./aws/install -i /usr/local/aws-cli -b /usr/local/bin +./aws/install -i /usr/local/aws-cli -b /usr/local/bin --update + +# Add AWS CLI to PATH +export PATH="$PATH:/usr/local/bin" # Validate that the AWS CLI works aws --version