File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,14 +133,15 @@ else
133133 # Download and untar the release tar ball.
134134 curl -f --ipv4 -Lo " ${TARBALL} " --connect-timeout 20 --max-time 300 --retry 6 --retry-delay 10 " ${TARBALL_GCS_PATH} "
135135 tar xvf " ${TARBALL} "
136- # Use crictl installed by kube-up.sh.
137- # TODO(random-liu): Create release tarball for GCE, and do not package crictl.
138- rm " ${CONTAINERD_HOME} /usr/local/bin/crictl"
139- rm " ${CONTAINERD_HOME} /etc/crictl.yaml"
140136 rm -f " ${TARBALL} "
141137 fi
142138fi
143139
140+ # Remove crictl shipped with containerd, use crictl installed
141+ # by kube-up.sh.
142+ rm -f " ${CONTAINERD_HOME} /usr/local/bin/crictl"
143+ rm -f " ${CONTAINERD_HOME} /etc/crictl.yaml"
144+
144145# Generate containerd config
145146config_path=" ${CONTAINERD_CONFIG_PATH:- " /etc/containerd/config.toml" } "
146147mkdir -p $( dirname ${config_path} )
You can’t perform that action at this time.
0 commit comments