From af0de6272d58e0ff76dda671904e5f37b8151bf7 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 14 Feb 2008 21:24:54 +0000 Subject: [PATCH] disable eth1 interface of UML host alice after booting --- testing/scripts/kstart-umls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testing/scripts/kstart-umls b/testing/scripts/kstart-umls index cc6cff34e..79a905578 100755 --- a/testing/scripts/kstart-umls +++ b/testing/scripts/kstart-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 $ipv4_alice /etc/init.d/net.eth1 stop + fi done cecho " * All uml instances are up now"