mitchellh/boot2docker-vagrant-box — pull request #6 by felixbuenemann (2014-01-11 20:29:54+00:00)
Title: [WIP] Add vmware box

This adds a new make target boot2docker_vmware.box that builds a box for vmware_desktop providers.

It does not yet work properly, because on first boot for some reason sda1 is not mounted automatically (it is mounted after a reboot through the vmware console) and because vagrant fails to configure networking, probably due to the stripped down busybox linux:
```
Bringing machine 'default' up with 'vmware_fusion' provider...
[default] Verifying vmnet devices are healthy...
[default] Preparing network adapters...
[default] Starting the VMware VM...
[default] Waiting for the VM to finish booting...
[default] The machine is booted and ready!
[default] Forwarding ports...
[default] -- 22 => 2222
[default] Configuring network adapters within the VM...
Vagrant attempted to execute the capability 'configure_networks'
on the detect guest OS 'linux', but the guest doesn't
support that capability. This capability is required for your
configuration of Vagrant. Please either reconfigure Vagrant to
avoid this capability or fix the issue by creating the capability.
```

It also requires an ugly hack to boot from the iso:

Because packers vmware-iso builder has no option to keep the iso file it used during build and it overrides the ide1:0 devise, we need to add a second ide1:1 cdrom that points to the proper iso.

The sda-mbr.bin file contains the mbr for a 40 GB disk with one primary partition aligned to sector 2048 and is used to init the drive when the system is providioned. Using this would also be possible in the virtualbox provider to get rid of the persistent.vmdk and vboxmanage stuff.