mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-25 05:41:10 +00:00
Fix the static ip configuration in genesis
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user