xdissent/ievms — pull request #78 by hughdavenport (2012-07-09 11:15:40+00:00)
Title: Add check for VirtualBox Guest Additions

Currently if not installed, the following error occurs:

VBoxManage: error: Could not find file for the medium '/usr/share/virtualbox/VBoxGuestAdditions.iso' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp
VBoxManage: error: Invalid UUID or filename "/usr/share/virtualbox/VBoxGuestAdditions.iso"

When the command is re-run, the VM it failed on is skipped.

This patch adds a check for the guest additions