Compare commits

..

5 Commits

Author SHA256 Message Date
3075872a0c make apache services truly dual socket
All checks were successful
Check Release Manifest Local Charts Versions / Check Release Manifest Local Charts Versions (pull_request) Successful in 9s
Build PR in OBS / Build PR in OBS (pull_request_target) Successful in 5m34s
Signed-off-by: Marco Chiappero <marco.chiappero@suse.com>
2025-07-25 16:35:15 +00:00
4bb46d40d8 let ironic API use v4 and v6 sockets
Signed-off-by: Marco Chiappero <marco.chiappero@suse.com>
2025-07-25 16:35:15 +00:00
a3ca6759dc simplify the definition of host_ip on ironic 2025-07-25 16:35:15 +00:00
08b5fa43ed Use my_ipv6 when IRONIC_IPV6 is defined
Signed-off-by: Marco Chiappero <marco.chiappero@suse.com>
2025-07-25 16:35:15 +00:00
08f8cd056b Introduce hostname
Signed-off-by: Marco Chiappero <marco.chiappero@suse.com>
2025-07-25 16:35:15 +00:00

View File

@@ -214,9 +214,9 @@ wait_for_interface_or_ip()
fi
# Make sure both IPs are asigned to the same interface
if [[ -n "$IFACE_IPV6" ]] && [[ -n "$IPV4_IFACE" ]] && [[ "$IFACE_IPV6" != "$IPV4_IFACE" ]]; then
if [[ -n "$IPV6_IFACE" ]] && [[ -n "$IPV4_IFACE" ]] && [[ "$IPV6_IFACE" != "$IPV4_IFACE" ]]; then
echo "Warning, the IPv4 and IPv6 addresses from \"${HOSTNAME}\" are assigned to different " \
"interfaces (\"${IFACE_IPV6}\" and \"${IFACE_IPV4}\")" >&2
"interfaces (\"${IPV6_IFACE}\" and \"${IPV4_IFACE}\")" >&2
fi
export IRONIC_IP="$IPV4_RECORD"