Fixes clean to remove all VMs and be more effective 33/1033/3
authorTim Rozet <trozet@redhat.com>
Mon, 20 Jul 2015 21:41:20 +0000 (17:41 -0400)
committerTim Rozet <trozet@redhat.com>
Wed, 22 Jul 2015 17:58:51 +0000 (13:58 -0400)
commitfdd726d803bae3d05051852eaf0e0c3349348bda
tree400ef07ab31490aa20161b39f45c897766498abe
parentc621b81549551823ecd1447bb18aa854bb90d8f1
Fixes clean to remove all VMs and be more effective

Now all VMs in the vm_dir (/opt/var/opnfv) will be destroyed and
removed.  Also, virtual box VMs that are leftover even if Vagrant is
stuck will attempted to be gracefully removed first, before forcefully
destroying the process.  The clean should work for both baremetal and
virtual deployments.

JIRA: APEX-3

Change-Id: Ib31cf1210651e4413ec8fe918ff91be63f4ad6d4
Signed-off-by: Tim Rozet <trozet@redhat.com>
foreman/ci/clean.sh