diff --git a/cloud-config.txt b/cloud-config.txt index acd6083..42bed01 100644 --- a/cloud-config.txt +++ b/cloud-config.txt @@ -17,7 +17,7 @@ runcmd: - 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 - mkdir -p /go/src/github.com/openfaas/ -- cd /go/src/github.com/openfaas/ && git clone https://github.com/openfaas/faasd && git checkout 0.9.5 +- cd /go/src/github.com/openfaas/ && git clone --depth 1 --branch 0.9.5 https://github.com/openfaas/faasd - curl -fSLs "https://github.com/openfaas/faasd/releases/download/0.9.5/faasd" --output "/usr/local/bin/faasd" && chmod a+x "/usr/local/bin/faasd" - cd /go/src/github.com/openfaas/faasd/ && /usr/local/bin/faasd install - systemctl status -l containerd --no-pager