Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit 69e2257

Browse files
Update install.sh
1 parent 21df40f commit 69e2257

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +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}')
43+
IP=$(kubectl get nodes | grep Ready | awk '{print $1}' | head -1)
4444
kubectl create -f local-volume.yaml
4545
sleep 5s
4646
sed -i s#169\.47\.241\.213#$IP#g setup.yaml

0 commit comments

Comments
 (0)