Fix velero
This commit is contained in:
parent
ee5203a03d
commit
b4915a6927
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
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"
|
wget "$result"
|
||||||
tar -xvf $(basename "$result")
|
tar -xf $(basename "$result")
|
||||||
echo $(basename "$result")/velero
|
ls */velero
|
||||||
|
|
Loading…
Add table
Reference in a new issue