2
0
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:
Jarrod Johnson
2021-09-09 16:51:27 -04:00
parent 8eb242cba0
commit 11796cda81

View File

@@ -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