[kvm]: print running process when build kvm fails

Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
Guohan Lu 2021-02-06 15:11:31 -08:00
parent b6a6c0c6b2
commit 3001bbcd28

View File

@ -23,6 +23,7 @@ on_exit()
on_error()
{
netstat -antp
ps aux
echo "============= kvm_log =============="
cat $kvm_log
}