File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ TLSE_ENABLED=${TLSE_ENABLED:-false}
2727CLOUD_DOMAIN=${CLOUD_DOMAIN:- localdomain}
2828TELEMETRY_ENABLED=${TELEMETRY_ENABLED:- true}
2929OCTAVIA_ENABLED=${OCTAVIA_ENABLED:- false}
30+ IPA_IMAGE=${IPA_IMAGE:- " quay.io/freeipa/freeipa-server:fedora-41" }
3031
3132# Use the files created in the previous steps including the network_data.yaml file and thw deployed_network.yaml file.
3233# The deployed_network.yaml file hard codes the IPs and VIPs configured from the network.sh
@@ -154,7 +155,7 @@ if [ "$TLSE_ENABLED" = "true" ]; then
154155 -h $IPA_SERVER_HOSTNAME \
155156 --read-only --tmpfs /run --tmpfs /tmp \
156157 -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
157- -v /tmp/ipa-data:/data:Z quay.io/freeipa/freeipa-server:fedora-39 no-exit \
158+ -v /tmp/ipa-data:/data:Z " $IPA_IMAGE " no-exit \
158159 -U -r $IPA_REALM --setup-dns --no-reverse --no-ntp \
159160 --no-dnssec-validation --auto-forwarders
160161 timeout 900s grep -qEi ' (INFO The ipa-server-install command was successful|ERROR The ipa-server-install command failed)' <( tail -F /tmp/ipa-data/var/log/ipaserver-install.log)
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ if [ "$TLSE_ENABLED" = "true" ]; then
185185 export IPA_REALM=$( echo $IPA_DOMAIN | awk ' {print toupper($0)}' )
186186 export IPA_HOST=ipa.$IPA_DOMAIN
187187 export IPA_SERVER_HOSTNAME=$IPA_HOST
188+ export IPA_IMAGE=${IPA_IMAGE:- " quay.io/freeipa/freeipa-server:fedora-41" }
188189 sudo mkdir /tmp/ipa-data
189190 sudo podman run -d --name freeipa-server-container \
190191 --sysctl net.ipv6.conf.lo.disable_ipv6=0 \
@@ -198,7 +199,7 @@ if [ "$TLSE_ENABLED" = "true" ]; then
198199 -p 88:88/udp -p 464:464/udp \
199200 --read-only --tmpfs /run --tmpfs /tmp \
200201 -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
201- -v /tmp/ipa-data:/data:Z quay.io/freeipa/freeipa-server:fedora-39 no-exit \
202+ -v /tmp/ipa-data:/data:Z " $IPA_IMAGE " no-exit \
202203 -U -r $IPA_REALM --setup-dns --no-reverse --no-ntp \
203204 --no-dnssec-validation --auto-forwarders
204205 timeout 900s grep -qEi ' (INFO The ipa-server-install command was successful|ERROR The ipa-server-install command failed)' <( sudo tail -F /tmp/ipa-data/var/log/ipaserver-install.log)
You can’t perform that action at this time.
0 commit comments