2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-27 11:30:06 +00:00

Fix the static ip configuration in genesis

This commit is contained in:
Jarrod Johnson 2020-08-11 13:37:16 -04:00
parent db8047318e
commit f6343a1aa6

View File

@ -61,7 +61,7 @@ else
v4nm=$(grep ^prefix: /etc/confluent/confluent.deploycfg)
v4nm=${v4nm#prefix: }
echo "Setting up $ifname as static at $v4addr/$v4nm"
ip addr add dev $ifname/$v4nm
ip addr add dev $ifname $v4addr/$v4nm
if [ ! -z "$v4gw" ]; then
ip route add default via $v4gw
fi