Using "sleha-init -c servername -i eth1" to create a new cluster.
it failed.

i check the script of sleha-functions, and i found the Auto-detection of IP address and netmask procedure like the following:

Code:
	
             # Auto-detection of IP address and netmask only works if $NET_IF is
	# up. If $IP_ADDRESS is overridden, network detect shouldn't work,
	# because "ip route" won't be able to help us.
	if [ -z "$IP_ADDRESS" ]; then
		IP_ADDRESS=$(ip -o -f inet addr show primary | \
			awk "/[[:space:]]${NET_IF}[[:space:]]/ {print \$4} " |
			sed 's/\/[1-9][1-9]*//')
	fi
	if [ -z "$IP_NETWORK" -a -n "$IP_ADDRESS" ]; then
		IP_NETWORK=$(ip route list | \
			awk "/${IP_ADDRESS}/ { print \$1; }" |
			sed 's/\/[1-9][1-9]//')
	fi
and when i used this command to check ip address, i got the result:

Code:
# ip -o -f inet addr show primary 
1: lo    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0    inet 10.107.228.119/24 brd 10.107.228.255 scope global eth0
3: eth1    inet 200.200.0.202/30 brd 200.200.0.203 scope global eth1
then i used the same command in sleha-functions, i got the result:
Code:
# ip -o -f inet addr show primary | awk "/[[:space:]]eth1[[:space:]]/ {print \$4} " |sed 's/\/[1-9][1-9]*//'
200.200.0.2020
i think the regular expression sed 's/\/[1-9][1-9]*//' is not correct here.
so if i change the regular expression to sed 's/\/[1-9][0-9]*//',

Code:
# ip -o -f inet addr show primary | awk "/[[:space:]]eth1[[:space:]]/ {print \$4} " |sed 's/\/[1-9][0-9]*//'
200.200.0.202
is it a bug or some limitation (like we can use netmask such as 30 or 20 or 10) not including in the documents?