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"
VBoxManage guestcontrol -- unable to pass arguments
-
Technologov
- Volunteer
- Posts: 3342
- Joined: 10. May 2007, 16:59
- Location: Israel
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VBoxManage guestcontrol -- unable to pass arguments
Code: Select all
VBoxManage guestcontrol Ubuntu-10.10 execute --image /bin/uname --username foo --password bar --wait-stdout -- -a-
Technologov
- Volunteer
- Posts: 3342
- Joined: 10. May 2007, 16:59
- Location: Israel
Re: VBoxManage guestcontrol -- unable to pass arguments
--image ???
No such parameter exists.
No such parameter exists.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VBoxManage guestcontrol -- unable to pass arguments
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.
Or run VBoxManage guestcontrol in your terminal without arguments to see what the syntax is.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VBoxManage guestcontrol -- unable to pass arguments
Here is from 4.0.4
Results
Code: Select all
VBoxManage guestcontrol execute Ubuntu-10.04 /bin/uname --username foo --password bar --arguments -a --wait-for stdoutCode: Select all
Linux perry-ubuntu 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux