Skip to content

Commit

Permalink
Bump version to 4.7. Add some fixes in the script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Okky Hendriansyah committed Mar 30, 2021
1 parent 63bfd77 commit a5bcb91
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
```
Expand All @@ -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}
```

Expand Down
13 changes: 8 additions & 5 deletions prepare-openshift-installer.sh
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down

0 comments on commit a5bcb91

Please sign in to comment.