Compare commits
5 Commits
39cc72476a
...
3075872a0c
Author | SHA256 | Date | |
---|---|---|---|
3075872a0c
|
|||
4bb46d40d8
|
|||
a3ca6759dc
|
|||
08b5fa43ed
|
|||
08f8cd056b
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user