Cloudstack-2938 [Multiple_IP_Ranges] Password Service does not work in case of multiple subnets in a vlan

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
Bharat Kumar 2013-06-19 11:58:08 +05:30 committed by Abhinandan Prateek
parent d512368f45
commit b8b786d668
1 changed files with 4 additions and 1 deletions

View File

@ -32,4 +32,7 @@ do
netmask=$(echo $var1 | cut -f3 -d ":")
ifconfig eth0:$alias_count $routerip netmask $netmask up
var=$( echo $var | sed "s/${var1}-//" )
done
done
#restaring the password service to enable it on the ip aliases
/etc/init.d/cloud-passwd-srvr restart
exit $?