xdissent/ievms — Issue #54: /usr/share/virtualbox/VBoxGuestAdditions.iso does not exist on Debian, causes crash
Author: jarofgreen
Created: 2012-01-18 23:30:17+00:00
State: open

Debian testing distro, VBox 4.1.8

Instead what happens is the first time you select "Install Guest Additions", it comes up saying "Do you want to download them?". It does not then place them at /usr/share/virtualbox/VBoxGuestAdditions.iso

Maybe
``` VBoxManage storageattach "${vm}" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium "${ga_iso}"```

could be replaced with something like
``` if [-f ${ga_iso} ]
VBoxManage storageattach "${vm}" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium "${ga_iso}"
else
VBoxManage storageattach "${vm}" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium emptydrive
fi```
That way, at least the drive is ready for when the user selects "Install Guest Additions" by hand