kill the old metadata process

This commit is contained in:
Jesse Andrews 2011-11-05 22:41:57 -07:00
parent e49f751aa9
commit ee34f62ba7

View file

@ -157,6 +157,8 @@ EOF
rm -rf $vm_dir/uec rm -rf $vm_dir/uec
cp -r $TOOLS_DIR/uec $vm_dir/uec cp -r $TOOLS_DIR/uec $vm_dir/uec
# (re)start a metadata service
`lsof -i -n | grep 192.168.$GUEST_NETWORK.1:4567 | awk '{print $2}' | xargs -n1 kill -9`
cd $vm_dir/uec cd $vm_dir/uec
python meta.py 192.168.$GUEST_NETWORK.1:4567 & python meta.py 192.168.$GUEST_NETWORK.1:4567 &