X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=service-exposure%2Fundeploy_rapp.sh;h=4a75d345318bc85425b01e1a8794b4066e827214;hb=2c6c06ebb4e672ffa74690dc2fc35554011d4e28;hp=5e37e1784a1ea8cb215211e08d85c5342f5b1bc5;hpb=2513eea5c9c4a1685ab6cbf0c2727d21399de5c7;p=nonrtric.git diff --git a/service-exposure/undeploy_rapp.sh b/service-exposure/undeploy_rapp.sh old mode 100644 new mode 100755 index 5e37e178..4a75d345 --- a/service-exposure/undeploy_rapp.sh +++ b/service-exposure/undeploy_rapp.sh @@ -18,7 +18,7 @@ # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= # -export host=$(minikube ip) +export host=$(kubectl get nodes -o wide | tail -1 | sed s'/ */ /'g | cut -f6 -d' ') if [ -z "$1" ] then