apt hold k8s packages 24/10524/2
authorendika <endika.aldecoa@ehu.eus>
Mon, 22 Mar 2021 16:13:45 +0000 (17:13 +0100)
committerbeierlm <mark.beierl@canonical.com>
Tue, 23 Mar 2021 14:39:21 +0000 (15:39 +0100)
Change-Id: Ib940a950bb0a7a40f2d867dcd5e9b3d46e7238c0
Signed-off-by: endika <endika.aldecoa@ehu.eus>
installers/full_install_osm.sh

index c28f750..e54d197 100755 (executable)
@@ -837,6 +837,7 @@ function install_kube() {
     sudo apt-get update
     echo "Installing Kubernetes Packages ..."
     sudo apt-get install -y kubelet=1.15.0-00 kubeadm=1.15.0-00 kubectl=1.15.0-00
+    sudo apt-mark hold kubelet kubeadm kubectl
 }
 
 #initializes kubernetes control plane
@@ -1931,5 +1932,3 @@ export OSM_USE_LOCAL_DEVOPS=true
 wget -q -O- https://osm-download.etsi.org/ftp/osm-9.0-nine/README2.txt &> /dev/null
 track end
 echo -e "\nDONE"
-
-