disable eth1 interface of UML host alice after booting
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user