X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=service-exposure%2Fundeploy_rapp.sh;h=4a75d345318bc85425b01e1a8794b4066e827214;hb=b94b48f2cad1b161a0ece13a4100ccf4b7d0c503;hp=5e37e1784a1ea8cb215211e08d85c5342f5b1bc5;hpb=b8ae6c467edee10ef39f1b43097fd1ec426e86b7;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