X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fscripts%2Fsetup-cni.sh;h=0d823606ca50e4b7b5ac216612854f1737efce87;hb=0c0074f81e13dc505b36d187fd98df9e343358c5;hp=643f157cbcaf724f5e2f7d79f3bea3e63c9129a0;hpb=cf0f46af320cc9cf41efb6edad7afbe94dd5e1b6;p=iec.git diff --git a/src/foundation/scripts/setup-cni.sh b/src/foundation/scripts/setup-cni.sh index 643f157..0d82360 100755 --- a/src/foundation/scripts/setup-cni.sh +++ b/src/foundation/scripts/setup-cni.sh @@ -2,6 +2,11 @@ set -o xtrace set -e +if [ -f "$HOME/.bashrc" ]; then + # shellcheck source=/dev/null + source "$HOME/.bashrc" +fi + CLUSTER_IP=${1:-172.16.1.136} # Align with the value in our K8s setup script POD_NETWORK_CIDR=${2:-192.168.0.0/16}