disable eth1 interface of UML host alice after booting
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 14 Feb 2008 21:24:54 +0000 (21:24 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 14 Feb 2008 21:24:54 +0000 (21:24 -0000)
testing/scripts/kstart-umls

index cc6cff3..79a9055 100755 (executable)
@@ -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"