Skip to content

Commit

Permalink
Enable containerd on reboot
Browse files Browse the repository at this point in the history
Fixes #48

Signed-off-by: Gabriel Duke <gabeduke@gmail.com>
  • Loading branch information
gabeduke authored and alexellis committed Feb 23, 2020
1 parent 2307fc7 commit 93325b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloud-config.txt
Expand Up @@ -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
Expand Down

0 comments on commit 93325b7

Please sign in to comment.