mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 02:52:07 +00:00
Disable autoconf of ipv6 in el
If autoconf is allowed when link is brought up, it scan confuse redhat network configuration when it already finds an ipv6 address.
This commit is contained in:
parent
e390618dd9
commit
24ef12e029
@ -42,6 +42,7 @@ cd /sys/class/net
|
||||
while ! grep ^EXTMGRINFO: /etc/confluent/confluent.info | awk -F'|' '{print $3}' | grep 1 >& /dev/null && [ "$TRIES" -lt 60 ]; do
|
||||
TRIES=$((TRIES + 1))
|
||||
for currif in *; do
|
||||
echo 0 > /proc/sys/net/ipv6/conf/${currif}/autoconf
|
||||
ip link set $currif up
|
||||
done
|
||||
/opt/confluent/bin/copernicus -t > /etc/confluent/confluent.info
|
||||
|
Loading…
Reference in New Issue
Block a user