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

This commit is contained in:
kjg 2022-11-16 15:45:35 +00:00
parent 824680e123
commit 9bb54276aa

View file

@ -25,7 +25,7 @@ IMAGE_SIZE=10G
NBD_DEVICE=/dev/nbd1 NBD_DEVICE=/dev/nbd1
# TODO: find the package definition and built ourself, publish in some RPM repository. # 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/v6.4.0/one-context-6.4.0-1.el8.noarch.rpm" 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_PATH=/root/one-context.rpm ONE_CONTEXT_RPM_PATH=/root/one-context.rpm
cleanup() { cleanup() {
@ -90,7 +90,7 @@ dnf -y \
--enablerepo=fedora \ --enablerepo=fedora \
--enablerepo=updates install \ --enablerepo=updates install \
--setopt=install_weak_deps=False \ --setopt=install_weak_deps=False \
basesystem systemd systemd-udev passwd dnf fedora-release basesystem systemd systemd-udev passwd dnf fedora-release glibc-langpack-en.x86_64
mount --bind /dev /mnt/dev mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts mount --bind /dev/pts /mnt/dev/pts