apt hold k8s packages 23/10523/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:10 +0000 (15:39 +0100)
Change-Id: Ib940a950bb0a7a40f2d867dcd5e9b3d46e7238c0
Signed-off-by: endika <endika.aldecoa@ehu.eus>
installers/full_install_osm.sh

index a742155..f19b299 100755 (executable)
@@ -838,6 +838,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
@@ -1932,5 +1933,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"
-
-