Fix velero

This commit is contained in:
xeruf 2023-12-22 18:05:07 +03:00
parent ee5203a03d
commit b4915a6927
1 changed files with 2 additions and 2 deletions

View File

@ -7,5 +7,5 @@ esac
result=$(curl https://api.github.com/repos/vmware-tanzu/velero/releases/latest | grep -o "http.*.tar.gz" | awk '{ print length(), $0}' | sort -n | cut -d' ' -f2- | grep linux-$arch | head -1)
wget "$result"
tar -xvf $(basename "$result")
echo $(basename "$result")/velero
tar -xf $(basename "$result")
ls */velero