Skip to content

Commit e9ff886

Browse files
authored
Merge pull request #955 from fmount/ipa
Bump ipa image in adoption script and make it a parameter
2 parents f50aec7 + bf5b655 commit e9ff886

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

devsetup/standalone/openstack.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ TLSE_ENABLED=${TLSE_ENABLED:-false}
2727
CLOUD_DOMAIN=${CLOUD_DOMAIN:-localdomain}
2828
TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-true}
2929
OCTAVIA_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)

devsetup/tripleo/tripleo_install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)