2023-10-20 16:19:23 +02:00
|
|
|
#!/bin/bash
|
2023-09-28 16:34:53 +02:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
ONE_CONTEXT_VERSION="6.4.0"
|
|
|
|
ONE_CONTEXT_PKG_VERSION="1"
|
|
|
|
PKG="one-context-${ONE_CONTEXT_VERSION}-r${ONE_CONTEXT_PKG_VERSION}.apk"
|
|
|
|
PKG_URL="https://github.com/OpenNebula/addon-context-linux/releases/download/v${ONE_CONTEXT_VERSION}/${PKG}"
|
|
|
|
|
|
|
|
cd /tmp || exit 3
|
|
|
|
wget -q --no-check-certificate ${PKG_URL}
|
|
|
|
apk add --allow-untrusted --no-cache ${PKG}
|