opennebula-docker: 0.4.1 fixes writing to /etc/hosts
This commit is contained in:
parent
2653da6607
commit
6b2cf72396
4 changed files with 6 additions and 19 deletions
1
opennebula-docker/Dockerfile_0.4.1
Symbolic link
1
opennebula-docker/Dockerfile_0.4.1
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
Dockerfile_0.2.2
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue