From: garciadeblas Date: Wed, 20 Nov 2024 11:55:45 +0000 (+0100) Subject: Fix initialization of docker proxy and registry vars in install_k3s_cluster.sh X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=db368c3ca62672fb5eeed0eb51ac96011b56a87e;p=osm%2Fdevops.git Fix initialization of docker proxy and registry vars in install_k3s_cluster.sh Change-Id: I3adec3783af8dd89aa903d35ed624e9853beae27 Signed-off-by: garciadeblas --- diff --git a/installers/install_k3s_cluster.sh b/installers/install_k3s_cluster.sh index 539e7764..68e61a6e 100755 --- a/installers/install_k3s_cluster.sh +++ b/installers/install_k3s_cluster.sh @@ -244,10 +244,10 @@ done DEBUG_INSTALL=${DEBUG_INSTALL:-} DEFAULT_IP=${DEFAULT_IP:-"127.0.0.1"} OSM_DEVOPS=${OSM_DEVOPS:-"/usr/share/osm-devops"} -DOCKER_PROXY_URL=${DOCKER_PROXY_URL=-} -DOCKER_REGISTRY_URL=${DOCKER_REGISTRY_URL=-} -DOCKER_REGISTRY_USER=${DOCKER_REGISTRY_USER=-} -DOCKER_REGISTRY_PASSWORD=${DOCKER_REGISTRY_PASSWORD=-} +DOCKER_PROXY_URL=${DOCKER_PROXY_URL:-} +DOCKER_REGISTRY_URL=${DOCKER_REGISTRY_URL:-} +DOCKER_REGISTRY_USER=${DOCKER_REGISTRY_USER:-} +DOCKER_REGISTRY_PASSWORD=${DOCKER_REGISTRY_PASSWORD:-} K3S_PUBLIC_IP=${K3S_PUBLIC_IP:-} echo "DEBUG_INSTALL=${DEBUG_INSTALL}" echo "DEFAULT_IP=${DEFAULT_IP}"