mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-25 20:50:28 +00:00
Correct the ipv6 prefix name
This commit is contained in:
@@ -108,8 +108,8 @@ if [ "$autoconfigmethod" = "static" ]; then
|
||||
if [ "$ipgw" = "null" ]; then
|
||||
ipgw=""
|
||||
fi
|
||||
ipnm=$(grep ^prefix: /etc/confluent/confluent.deploycfg)
|
||||
ipnm=${ipnm#prefix: }
|
||||
ipnm=$(grep ^ipv6_prefix: /etc/confluent/confluent.deploycfg)
|
||||
ipnm=${ipnm#ipv6_prefix: }
|
||||
echo "Setting up $ifname as static at $ipaddr/$ipnm"
|
||||
ip addr add dev $ifname $ipaddr/$ipnm
|
||||
if [ ! -z "$ipgw" ]; then
|
||||
|
Reference in New Issue
Block a user