1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-03 01:17:41 +03:00
one/share/context/download_context.sh

5 lines
218 B
Bash
Executable File

#!/bin/bash
# Always download latest context from one-apps
CONTEXT_API="https://api.github.com/repos/OpenNebula/one-apps/releases/latest"
curl -s $CONTEXT_API | jq -r '.assets[].browser_download_url' | xargs wget -P .