The Drupal Quickstart project is a prepackaged Drupal development environment based on a VirtualBox virtual machine running Ubuntu. It's provided as a portable "Open Virtual Appliance" .ova file. So if like me you already run vmware Fusion on OSX and have no intention of running VirtualBox alongside too, it should be possible to use Quickstart in Fusion. This, it turns out, is slightly less easy than expected.
I can help.
You need to convert the .ova with a command line tool provided by vmware called 'ovftool'. This is supplied in the full installer of Fusion 3.1. You can check if you have ovftool by opening Terminal.app and doing:
After you've reinstalled, or if you have ovftool installed already, you still need to get ovftool working, daemonchild details that, but ovftool is now at version two so we modify his commands to these:
sudo mkdir /usr/local/bin/ovftool2.0
sudo cp -R * /usr/local/bin/ovftool2.0
sudo ln -s /usr/local/bin/ovftool2.0/ovftool /usr/local/bin/ovftool
Once we have ovftool installed and working we can attempt the actual conversion. To cut a long story short we need to untar the .ova:
Quickstart 0.9.1-disk1.vmdk
<rasd:Address>0</rasd:Address>
<rasd:Caption>sataController0</rasd:Caption>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSI Controller 0</rasd:ElementName>
<rasd:InstanceID>5</rasd:InstanceID>
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
Now we're ready to carry out the actual conversion, you'll need to alter the paths in this command to suit the location of the quickstart .ovf and the destination for the .vmx:
When it's running you'll have some tweaking to do. Start by installing the vmware tools, and uninstalling the virtualbox additions (I uninstalled three packages with the synaptic package manager: virtualbox-ose-guest-dkms, virtualbox-ose-guest-x11 and virtualbox-ose-guest-utils). With that done you can shut down the vm and alter it's Fusion settings. I increased the RAM and added a sound device.
I already have my own development vm setup, so I'm looking to use Quickstart to finally learn how to do proper profiling with xdebug. But I'm impressed with the work that's already gone into Quickstart, so a big thank you to Michael Cole and anyone that's provided patches. Happy Drupal developing!
| Attachment | Size |
|---|---|
| qs.ovf_.diff | 870 bytes |
Tried this but could not get it working. Downloaded Quickstart version 1.0, tar -xf ova file and this gave me a vmdk . Created a new VM with this vmdk as existing disk (create a copy) and voila : Quickstart 1.0 ready to use .
VMWare Fushion 3.1.3
So what didn’t work? Sounds like it’s a lot easier now, maybe changes in Quickstart 1.0 hindered or helped?
To be honest I never actually used Quickstart, even after going to all that effort getting it working!
Post new comment