Hello,
I am using virtual box to run ubuntu.
I need to execute script with some parameters .
If i run the script from terminal in ubuntu it will be like:
/home/user/Documents/test.sh a b
a and b there are parameters for script.
When i run the script from windows with vmanage.exe, it will be like :
C:\Program Files\Oracle\VirtualBox\VBoxManage.exe guestcontrol Virtual_Ubuntu start --exe /home/user/Documents/test.sh --username user --password password
The problem is that i dont know how to "transfer" the parameters when i am starting the script from vboxmanage.exe
How to transfer parameters to script with guestcontrol?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: How to transfer parameters to script with guestcontrol?
Cross posting is against the forum rules. I have deleted your previous post on this subject.