抓取root密码:

cat vm.log |grep 'Root Password'|cut -d ":" -f2|sed 's/^[ \t]*//g'

抓取IP:

cat vm.log |grep 'IP-Address'|cut -d ":" -f2|sed 's/[ \t]//g'