Opened 11 years ago
Last modified 10 years ago
#13452 new enhancement
Please add workdir argument to guestcontrol exec
Reported by: | indifferent | Owned by: | |
---|---|---|---|
Component: | guest control | Version: | VirtualBox 4.3.16 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
I'm working on virtual build-test factory, based on VirtualBox. VBoxManage guestcontrol helps immensely, but tasks such as 'make' often need concrete folder to run in. Because of that I have to use construct as following, wrapping everything under bash command:
VBoxManage guestcontrol "$ARG_VM_NAME" exec --wait-exit --wait-stderr \ --image "/bin/bash" --username $VM_USER_LOGIN --password $VM_USER_PASSWORD \ -- -c "cd '/mnt/ramdisk/$BUILD/buildroot' && make images"
It would be very helpful to have --workdir or similar argument to guestcontrol exec, similarly to process spawning libraries in programming languages and libraries.
Note:
See TracTickets
for help on using tickets.
This would be (even more) desirable option for windows guests.