Adding has_vm method, that is used by bosh cck. Add setup-bosh-config.sh script that writes bosh agent config file used as 'user-script' that execues when vm boots up. Add debug output in /tmp. Catch uncaughtException. Use /var/vcap/.fifo to save cloud credentials. When creating a vm, wait for it until its ready, so the set_metadata is called after its on the hypervisor. Better vm_delete.