[tools] update fedora-build-opennebula-image.sh for Fedora 36

This commit is contained in:
kjg 2022-11-15 13:57:49 +00:00
parent e39e8a66c2
commit 824680e123

View file

@ -18,14 +18,14 @@ set -e
set -x
# XXX: Handle command-line arguments?
RELEASE=33
RELEASE=36
ARCH=x86_64
IMAGE_PATH=fedora-$RELEASE-$(date +%+F).img.qcow2
IMAGE_SIZE=10G
NBD_DEVICE=/dev/nbd1
# TODO: find the package definition and built ourself, publish in some RPM repository.
ONE_CONTEXT_RPM_URL="https://github.com/OpenNebula/addon-context-linux/releases/download/v5.10.0/one-context-5.10.0-1.el8.noarch.rpm"
ONE_CONTEXT_RPM_URL="https://github.com/OpenNebula/addon-context-linux/releases/download/v6.4.0/one-context-6.4.0-1.el8.noarch.rpm"
ONE_CONTEXT_RPM_PATH=/root/one-context.rpm
cleanup() {