mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-07 12:06:00 +00:00
Fix coreos tendency to disable ipv6
This commit is contained in:
parent
e5a748f0a2
commit
8ecbcb0f00
@ -91,6 +91,7 @@ done < /etc/confluent/confluent.deploycfg
|
||||
if [ -e /lib/nm-lib.sh ]; then
|
||||
. /lib/nm-lib.sh
|
||||
nm_generate_connections
|
||||
sed -i 's/method=disabled/method=link-local/' /run/NetworkManager/system-connections/*.nmconnection
|
||||
if [[ "$ifname" == ib* ]]; then
|
||||
sed -i s/type=ethernet/type=infiniband/ /run/NetworkManager/system-connections/$ifname.nmconnection
|
||||
if ! grep '\[infiniband\]' /run/NetworkManager/system-connections/$ifname.nmconnection > /dev/null; then
|
||||
|
Loading…
Reference in New Issue
Block a user