Skip to content

Commit a5bcb91

Browse files
author
Okky Hendriansyah
committed
Bump version to 4.7. Add some fixes in the script.
1 parent 63bfd77 commit a5bcb91

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Install Openshift 4.6.11 on AWS (Internal Red Hat)
1+
# Install Openshift 4.7.4 on AWS (Internal Red Hat)
22
OpenShift 4 AWS Installation IPI at OpenTLC
33

44
### Prerequisite
@@ -11,7 +11,7 @@ OpenShift 4 AWS Installation IPI at OpenTLC
1111
```
1212
### Step 2: Clone Preparation script from Git and Change below parameter
1313
```bash
14-
> git clone https://github.com/erfinfeluzy/ocp4-at-opentlc.git
14+
> git clone https://github.com/okkyhtf/ocp4-at-opentlc.git
1515
> cd ocp4-at-opentlc/
1616
> vim prepare-openshift-installer.sh
1717
```
@@ -20,7 +20,7 @@ OpenShift 4 AWS Installation IPI at OpenTLC
2020
export AWSKEY={AWSKEY generated from opentlc}
2121
export AWSSECRETKEY={AWSSECRETKEY generated from opentlc}
2222
export REGION=ap-southeast-1
23-
export OCP_VERSION=4.6.11
23+
export OCP_VERSION=4.7.4
2424
export GUID={GUID generated from opentlc}
2525
```
2626

prepare-openshift-installer.sh

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/env bash
22

33
# Make sure you setup these ENV variables
4-
export AWSKEY=
5-
export AWSSECRETKEY=
4+
export AWSKEY=CHANGETHIS
5+
export AWSSECRETKEY=CHANGETHIS
66
export REGION=ap-southeast-1
7-
export OCP_VERSION=4.6.11
8-
export GUID=
7+
export OCP_VERSION=4.7.4
8+
export GUID=CHANGETHIS
99

1010
set -xe
1111

@@ -16,7 +16,10 @@ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscli-bundl
1616
unzip ./awscli-bundle.zip
1717

1818
# Install the AWS CLI into /bin/aws
19-
./aws/install -i /usr/local/aws-cli -b /usr/local/bin
19+
./aws/install -i /usr/local/aws-cli -b /usr/local/bin --update
20+
21+
# Add AWS CLI to PATH
22+
export PATH="$PATH:/usr/local/bin"
2023

2124
# Validate that the AWS CLI works
2225
aws --version

0 commit comments

Comments
 (0)