[ungleich-tools] update debian-build-opennebula-image.sh for Task#11911

This commit is contained in:
kjg 2023-08-08 11:48:27 +00:00
parent 05233eac2a
commit 19a5834124
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ set -e
set -x
# XXX: Handle command-line arguments?
RELEASE=bulleyes # 11.X
RELEASE=bookworm # 12.X
ARCH=amd64
IMAGE_PATH=debian-$RELEASE-$(date --iso-8601).img.qcow2
IMAGE_SIZE=10G
@ -17,7 +17,7 @@ NBD_DEVICE=/dev/nbd0
HOSTNAME=debian
# TODO: find the package definition and built ourself, publish in some RPM repository.
ONE_CONTEXT_DEB_URL="https://github.com/OpenNebula/addon-context-linux/releases/download/v5.10.0/one-context_5.10.0-1.deb"
ONE_CONTEXT_DEB_URL="https://github.com/OpenNebula/addon-context-linux/releases/download/v6.6.1/one-context_6.6.1-1.deb"
ONE_CONTEXT_DEB_PATH=/root/one-context.deb
cleanup() {
@ -124,7 +124,7 @@ run_root apt-get -y install "$ONE_CONTEXT_DEB_PATH"
run_root rm "$ONE_CONTEXT_DEB_PATH"
# Manually install legacy network scripts used by one-context.
run_root apt-get -y install ifupdown
run_root apt-get -y install ifupdown systemd-timesyncd.service
# Initalize base services.
run_root systemd-machine-id-setup