From 93325b713e60b41daa09246adff19dcfab711c17 Mon Sep 17 00:00:00 2001 From: Gabriel Duke Date: Sat, 22 Feb 2020 20:46:59 -0500 Subject: [PATCH] Enable containerd on reboot Fixes #48 Signed-off-by: Gabriel Duke --- cloud-config.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/cloud-config.txt b/cloud-config.txt index 415f083e..05197b52 100644 --- a/cloud-config.txt +++ b/cloud-config.txt @@ -11,6 +11,7 @@ runcmd: - curl -sLSf https://github.com/containerd/containerd/releases/download/v1.3.2/containerd-1.3.2.linux-amd64.tar.gz > /tmp/containerd.tar.gz && tar -xvf /tmp/containerd.tar.gz -C /usr/local/bin/ --strip-components=1 - curl -SLfs https://raw.githubusercontent.com/containerd/containerd/v1.3.2/containerd.service | tee /etc/systemd/system/containerd.service - systemctl daemon-reload && systemctl start containerd +- systemctl enable containerd - /sbin/sysctl -w net.ipv4.conf.all.forwarding=1 - mkdir -p /opt/cni/bin - curl -sSL https://github.com/containernetworking/plugins/releases/download/v0.8.5/cni-plugins-linux-amd64-v0.8.5.tgz | tar -xz -C /opt/cni/bin