Ticket #3064 (new enhancement)
Wanted pre-start post-stop scripts
|Reported by:||baf||Owned by:|
It would be very nice to be able to add a script/program so its run before resp after the vm.
Use case: VBoxManage setextradata global|<uuid>|<name> prestart /full/program/path_for_start
VBoxManage setextradata global|<uuid>|<name> postrun /full/program/path_for_stop
These programs would be called with the machine name as parameter and could mount/unmount partitions(nice for rawmdk) or check other conditions. If prestart fails(non-zero exit code) then the start would be aborted and whatever the script printed on stderr would be displayed.