update scripts

git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_staging@2243 123451ca-8445-de46-9d55-352943316053
diff --git a/pregelix/pregelix-core/src/main/resources/scripts/startnc.sh b/pregelix/pregelix-core/src/main/resources/scripts/startnc.sh
index 85727da..d858580 100644
--- a/pregelix/pregelix-core/src/main/resources/scripts/startnc.sh
+++ b/pregelix/pregelix-core/src/main/resources/scripts/startnc.sh
@@ -4,7 +4,7 @@
 #Get the IP address of the cc
 CCHOST_NAME=`cat conf/master`
 CURRENT_PATH=`pwd`
-CCHOST=`bin/getip.sh`
+CCHOST=`ssh ${CCHOST_NAME} "cd ${CURRENT_PATH}; bin/getip.sh"`
 
 #Import cluster properties
 . conf/cluster.properties