diff --git a/AdguardHome/install-cni-plugins.sh b/AdguardHome/install-cni-plugins.sh index 881881d..21a924f 100644 --- a/AdguardHome/install-cni-plugins.sh +++ b/AdguardHome/install-cni-plugins.sh @@ -1,6 +1,5 @@ #!/bin/sh -cd /tmp -curl -L https://github.com/containernetworking/plugins/releases/download/v0.8.6/cni-plugins-linux-arm64-v0.8.6.tgz -o cni.tgz - +curl -L https://github.com/containernetworking/plugins/releases/download/v0.8.6/cni-plugins-linux-arm64-v0.8.6.tgz -o /tmp/cni.tgz mkdir -p /mnt/data/podman/cni/ -tar xf cni.tgz -C /mnt/data/podman/cni/ +tar xf /tmp/cni.tgz -C /mnt/data/podman/cni/ +rm /tmp/cni.tgz