small fixes
diff --git a/onos-build-vm.py b/onos-build-vm.py
index 5e8355f..2e0942b 100755
--- a/onos-build-vm.py
+++ b/onos-build-vm.py
@@ -54,6 +54,8 @@
     vm.expect( prompt, timeout=20 )
     vm.sendline( 'bash onos-setup.sh' )
     vm.expect(prompt, timeout=1200)
+    
+    vm.sendline('sudo shutdown -h now')
   
 
 def vmdk2size( vmdk ):