text: #!/usr/bin/env python3
  from __future__ import print_function
  import sys
  import os
  import subprocess
  
  thread_timeout = 30
  from vmrunner import vmrunner
  
  # Get an auto-created VM from the vmrunner
  vm = vmrunner.vms[0]
  
  def cleanup():
      # Call the cleanup script - let python do the printing to get it synced
      print(subprocess.check_output(["./fat32_disk.sh", "clean"]))
  
  cleanup()
  # Setup disk
  subprocess.call(["./fat32_disk.sh"], shell=True, timeout=thread_timeout)
  
  # Clean up on exit
  vm.on_exit(cleanup)
  
  # Boot the VM
  if len(sys.argv) > 1:
      vm.boot(thread_timeout,image_name='fs_fat32')
  else:
      vm.cmake().boot(thread_timeout,image_name='fs_fat32').clean()
  