opennebula-docker: 0.4.1 fixes writing to /etc/hosts

This commit is contained in:
Nico Schottelius 2026-08-19 18:19:58 +02:00
commit 6b2cf72396
4 changed files with 6 additions and 19 deletions

View file

@ -0,0 +1 @@
Dockerfile_0.2.2

View file

@ -1,3 +1,5 @@
* 0.4.1, 2026-08-19
- Fix
* 0.4.0, 2026-08-19
- Fix /etc/hosts update for ceph
* 0.3.0, 2026-06-15

View file

@ -1,18 +0,0 @@
#!/bin/sh
if [ $# -ne 1 ]; then
echo $1 version
echo $(git describe --always)
exit 1
fi
version=$1; shift
set -e
docker build -t harbor.k8s.ungleich.ch/ungleich-public/opennebula-docker:$version .
echo "Press enter to push, ctr-c for abort"
read foo
docker push harbor.k8s.ungleich.ch/ungleich-public/opennebula-docker:$version

View file

@ -51,7 +51,9 @@ while true; do
echo $ip rook-ceph-$i >> /tmp/hosts
i=$((i+1))
done < /tmp/ceph-mon-ips
mv /tmp/hosts /etc/hosts
# Cannot move it, need to overwrite
cat /tmp/hosts > /etc/hosts
######################################################################
# /etc/ceph/ceph.conf