Skip to content

Commit f0b31c3

Browse files
committed
Updated README and travis
1 parent ef0e5ff commit f0b31c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ You can also use the script provided that replaces the default values to the IP
5858
The script replaces every instance of `169.47.241.213` in the files of your [core services](#core-microservices) yaml files and `setup.yaml` to the IP of your cluster *(found by executing `kubectl get nodes`)*.
5959

6060
Usage for the script can also be
61-
* `./scripts/replace_ip_<OS>.sh <IP-to-be-replaced>` replaces every instance of <IP-to-be-replaced> in the same yaml files to the IP of your current cluster.
61+
* `./scripts/replace_ip_<OS>.sh <IP-to-be-replaced>` replaces every instance of `<IP-to-be-replaced>` in the same yaml files to the IP of your current cluster.
6262

6363
This can be used if you have already changed `169.47.241.213` to a new IP and you want to work in another cluster that has a different IP.
6464

scripts/install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ kubectl delete --ignore-not-found=true -f local-volume.yaml
4040
}
4141

4242
function initial_setup() {
43+
IP=$(kubectl get nodes | grep Ready | awk '{print $1}')
4344
kubectl create -f local-volume.yaml
4445
sleep 5s
4546
sed -i s#169.47.241.213#$IP#g setup.yaml

0 commit comments

Comments
 (0)