aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtesting/scripts/kstart-umls2
-rwxr-xr-xtesting/scripts/start-umls6
-rwxr-xr-xtesting/scripts/xstart-umls6
3 files changed, 13 insertions, 1 deletions
diff --git a/testing/scripts/kstart-umls b/testing/scripts/kstart-umls
index 79a905578..7d53b9a9b 100755
--- a/testing/scripts/kstart-umls
+++ b/testing/scripts/kstart-umls
@@ -120,7 +120,7 @@ do
if [ "$host" = "alice" ]
then
eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
- ssh $ipv4_alice /etc/init.d/net.eth1 stop
+ ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
fi
done
diff --git a/testing/scripts/start-umls b/testing/scripts/start-umls
index 143d53b74..018bad010 100755
--- a/testing/scripts/start-umls
+++ b/testing/scripts/start-umls
@@ -107,6 +107,12 @@ do
else
cgecho "up"
fi
+
+ if [ "$host" = "alice" ]
+ then
+ eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
+ ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
+ fi
done
cecho " * All uml instances are up now"
diff --git a/testing/scripts/xstart-umls b/testing/scripts/xstart-umls
index 86090bc84..8f9b6f490 100755
--- a/testing/scripts/xstart-umls
+++ b/testing/scripts/xstart-umls
@@ -116,6 +116,12 @@ do
else
cgecho "up"
fi
+
+ if [ "$host" = "alice" ]
+ then
+ eval ipv4_${host}="`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
+ ssh root@$ipv4_alice /etc/init.d/net.eth1 stop
+ fi
done
cecho " * All uml instances are up now"