From 7ea5306831b5900d97e1819e566587e78ef56b02 Mon Sep 17 00:00:00 2001 From: John Dorman Date: Sun, 14 Jun 2020 08:48:49 -0700 Subject: [PATCH] CNI plugins cleanup --- AdguardHome/install-cni-plugins.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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