mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 10:39:23 +00:00
Fall through to ipv6 if v4 is blank
This commit is contained in:
parent
31bf8f2a11
commit
be2959f365
@ -169,7 +169,8 @@ v4cfg=${v4cfg#ipv4_method: }
|
||||
if [ "$v4cfg" = "static" ] || [ "$v4cfg" = "dhcp" ]; then
|
||||
mgr=$(grep ^deploy_server: /etc/confluent/confluent.deploycfg)
|
||||
mgr=${mgr#deploy_server: }
|
||||
else
|
||||
fi
|
||||
if [ -z "$mgr" ]; then
|
||||
mgr=$(grep ^deploy_server_v6: /etc/confluent/confluent.deploycfg)
|
||||
mgr=${mgr#deploy_server_v6: }
|
||||
mgr="[$mgr]"
|
||||
|
Loading…
x
Reference in New Issue
Block a user