Added steps to install nerdctl.
Change-Id: I4b25ecd05435f66e24c456f7e1ed3c57156f7aec
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
echo "Applying modified Calico configuration..."
kubectl apply -f calico.yaml
-echo "Installation complete!"
+echo "Installation completed for kubernetes!"
+
+# install nerdctl
+NERDCTL_VERSION=1.7.6 # see https://github.com/containerd/nerdctl/releases for the latest release
+
+archType="amd64"
+if test "$(uname -m)" = "aarch64"
+then
+ archType="arm64"
+fi
+
+wget -q "https://github.com/containerd/nerdctl/releases/download/v${NERDCTL_VERSION}/nerdctl-${NERDCTL_VERSION}-linux-${archType}.tar.gz" -O /tmp/nerdctl.tar.gz
+sudo tar Cxzvvf /usr/bin /tmp/nerdctl.tar.gz
+
+echo "Installation completed for nerdctl!"
\ No newline at end of file