MT#18723 Add ability to redefine HA shared IP using GRML boot option

Change-Id: I6a55f92a260e65516e1266ea37b0decaea8c0b23
changes/01/5701/1
Alexander Lutay 9 years ago
parent 92ba870cfb
commit 7ed4e3b147

@ -511,6 +511,10 @@ if checkBootParam ngcpip2 ; then
IP2=$(getBootParam ngcpip2)
fi
if checkBootParam ngcpipshared ; then
IP_HA_SHARED=$(getBootParam ngcpipshared)
fi
if checkBootParam ngcpnetmask ; then
INTERNAL_NETMASK=$(getBootParam ngcpnetmask)
fi
@ -680,6 +684,7 @@ Control target system:
ngcpeiface=... - external interface device (defaults to eth0)
ngcpip1=... - IP address of first node
ngcpip2=... - IP address of second node
ngcpipshared=... - HA shared IP address
ngcpnetmask=... - netmask of ha_int interface
ngcpeaddr=... - Cluster IP address
@ -715,6 +720,7 @@ for param in $* ; do
*ngcpeaddr=*) EADDR=$(echo $param | sed 's/ngcpeaddr=//');;
*ngcpip1=*) IP1=$(echo $param | sed 's/ngcpip1=//');;
*ngcpip2=*) IP2=$(echo $param | sed 's/ngcpip2=//');;
*ngcpipshared=*) IP_HA_SHARED=$(echo $param | sed 's/ngcpipshared=//');;
*ngcpnetmask=*) INTERNAL_NETMASK=$(echo $param | sed 's/ngcpnetmask=//');;
*ngcpextnetmask=*) EXTERNAL_NETMASK=$(echo $param | sed 's/ngcpextnetmask=//');;
*ngcpmcast=*) MCASTADDR=$(echo $param | sed 's/ngcpmcast=//');;

Loading…
Cancel
Save