VPC - enable passwd server service
There is currently no vpcrouter type defined in patchsystemvm.sh, which
controls our init scripts in the system vms. This patch allows the
services that would normally start on a router to start also on the VPC
router, in particular the password server was missing.

Signed-off-by: Edison Su <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/0699d65e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/0699d65e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/0699d65e

Branch: refs/heads/4.0
Commit: 0699d65ef155aeff60aab294987815251cc94900
Parents: 4cb2559
Author: Marcus Sorensen <[email protected]>
Authored: Thu Sep 20 15:44:11 2012 -0700
Committer: Edison Su <[email protected]>
Committed: Thu Sep 20 17:13:06 2012 -0700

----------------------------------------------------------------------
 .../debian/config/opt/cloud/bin/patchsystemvm.sh   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/0699d65e/patches/systemvm/debian/config/opt/cloud/bin/patchsystemvm.sh
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/opt/cloud/bin/patchsystemvm.sh 
b/patches/systemvm/debian/config/opt/cloud/bin/patchsystemvm.sh
index bdec43a..f994aed 100755
--- a/patches/systemvm/debian/config/opt/cloud/bin/patchsystemvm.sh
+++ b/patches/systemvm/debian/config/opt/cloud/bin/patchsystemvm.sh
@@ -177,7 +177,7 @@ then
    enable_serial_console
 fi
 
-if [ "$TYPE" == "router" ]
+if [ "$TYPE" == "router" ] || [ "$type" == "vpcrouter" ]
 then
   routing_svcs
   if [ $? -gt 0 ]

Reply via email to