From b8b786d6687ed21f43bcb9c48cb2edcec416d7d9 Mon Sep 17 00:00:00 2001 From: Bharat Kumar Date: Wed, 19 Jun 2013 11:58:08 +0530 Subject: [PATCH] Cloudstack-2938 [Multiple_IP_Ranges] Password Service does not work in case of multiple subnets in a vlan Signed-off-by: Abhinandan Prateek --- patches/systemvm/debian/config/root/createIpAlias.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/patches/systemvm/debian/config/root/createIpAlias.sh b/patches/systemvm/debian/config/root/createIpAlias.sh index 2c798131fd4..1db210b6860 100755 --- a/patches/systemvm/debian/config/root/createIpAlias.sh +++ b/patches/systemvm/debian/config/root/createIpAlias.sh @@ -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 \ No newline at end of file +done +#restaring the password service to enable it on the ip aliases +/etc/init.d/cloud-passwd-srvr restart +exit $? \ No newline at end of file