jclouds/jclouds — pull request #513 by dralves (2012-03-22 18:47:53+00:00)
Title: final functionality-oriented commit on jclouds vbox

After the finnal struggle I think this will be my final functionality oriented commit for a while since it can now be used by downstream projects, namely whirr.

Here's what's new:
- NodeMetadata now includes clear, usual names for the vms, and most of all groups (which was preventing whirr from destroying the cluster).
- Installing guest additions on the master was downloading the iso every time even though we already had it in cache and had attached it to the vm, so I modified installguestadditions statement to look for the iso in the vmspec and mount it if it was there (download is not a fallback). As a result creating master machines is much faster in my slowish (12Mbps) conenction.
- Created a unit test for installguestadditions.
- Consolidated locking in MachineUtils now there is no way that a lock mich escape (had a transient bug related with that).
- Consolidated running in GUI or HEADLESS by using the global option.
- Removed quite a lot of stale code

Ready for spring cleaning whenever you are @jclouds, @andreaturli