Page 1 of 1
VBoxManage guestcontrol -- unable to pass arguments
Posted: 26. Mar 2011, 15:52
by Technologov
I did:
C:\Program Files\Oracle\VirtualBox>VBoxManage --nologo guestcontrol execute "Fed
ora 14 64-bit" "/bin/uname" --arguments "-a" --username foo --password
bar --wait-for stdout
with the goal to run:
$ uname -a
but I got output of 'uname' only.
Any ideas?
--
-Alexey Eromenko "Technologov"
Re: VBoxManage guestcontrol -- unable to pass arguments
Posted: 26. Mar 2011, 17:32
by Perryg
Code: Select all
VBoxManage guestcontrol Ubuntu-10.10 execute --image /bin/uname --username foo --password bar --wait-stdout -- -a
Use the 8.2 Commands overview. It looks to me like the 8.29 is written wrong(in my user manual anyway)
Re: VBoxManage guestcontrol -- unable to pass arguments
Posted: 26. Mar 2011, 17:44
by Technologov
--image ???
No such parameter exists.
Re: VBoxManage guestcontrol -- unable to pass arguments
Posted: 26. Mar 2011, 17:58
by Perryg
I am running 4.0.51 as I said read your Chapter 8.2 to see what your syntax is. I tested the command before I posted it so I know it works.
Or run VBoxManage guestcontrol in your terminal without arguments to see what the syntax is.
Re: VBoxManage guestcontrol -- unable to pass arguments
Posted: 26. Mar 2011, 18:04
by Perryg
Here is from 4.0.4
Code: Select all
VBoxManage guestcontrol execute Ubuntu-10.04 /bin/uname --username foo --password bar --arguments -a --wait-for stdout
Results
Code: Select all
Linux perry-ubuntu 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux