How to pass a YES parameter from windows text file to UNIX.

Discussions about using Linux guests in VirtualBox.
Post Reply
AVIN
Posts: 11
Joined: 22. Feb 2016, 18:35

How to pass a YES parameter from windows text file to UNIX.

Post by AVIN »

HI I have imported a appliance in virtual box and at some instant i am try to pass YES as a input from text file but not able to pass can you help.
Attachments
forum.JPG
forum.JPG (74.54 KiB) Viewed 2459 times
Last edited by AVIN on 23. Feb 2016, 12:11, edited 1 time in total.
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 pass a YES parameter from windows test file to UN

Post by mpack »

How is this a VirtualBox question?

It certainly isn't a "Windows Host" question. Moving you to "Linux Guests".
AVIN
Posts: 11
Joined: 22. Feb 2016, 18:35

Re: How to pass a YES parameter from windows test file to UN

Post by AVIN »

Its Linux related.
AVIN
Posts: 11
Joined: 22. Feb 2016, 18:35

Re: How to pass a YES parameter from windows test file to UN

Post by AVIN »

Thanks a lot mpack . Can any one help
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 pass a YES parameter from windows test file to UN

Post by mpack »

This is not a Linux site, it's a VirtualBox site. Linux tuition is a bit beyond our remit here.

Please explain what feature of VirtualBox is relevant to your question? For example, where is the text file located that you want to read?
AVIN
Posts: 11
Joined: 22. Feb 2016, 18:35

Re: How to pass a YES parameter from windows test file to UN

Post by AVIN »

  1. I will import a OVA file manually in virtual box by selecting file and import.
  2. After importing to access my host i will pass the root user password as shown below. Now i used to pass manually instead manual i am planning to take the password from a text file which is located in my windows desktop. sorry for caused in convenience i hope now you are bit clear.
  3. Like root user password i have to pass IP address, subnet mask, Gateway details.
Thanks a lot.
Attachments
v1.JPG
v1.JPG (85.9 KiB) Viewed 2442 times
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 pass a YES parameter from windows test file to UN

Post by mpack »

Well, first I think you need to erase any thought you have that you are looking at a program running on your host. You are looking at the monitor of a second PC which just happens to share the physical display.

So, what would the answer to your question be if you had two physical PCs sitting side by side? Which is effectively what you have.

Anything you do needs to be work before guest additions are running in the guest, so short of a guest which cooperates by looking for input from (say) the serial port, the only method I can think of involves injecting keyboard scan codes (VBoxManage controlvm keyboardputscancode). You would have to learn about scan codes, which are digital signals not related at all to character codes.
AVIN
Posts: 11
Joined: 22. Feb 2016, 18:35

Re: How to pass a YES parameter from windows test file to UN

Post by AVIN »

Thanks a lot But i dont have idea about key board scan codes. can you help.
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 pass a YES parameter from windows test file to UN

Post by mpack »

It would involve a great deal of work so my helping you is not really a practical option. Perhaps someone else will have a bright idea.
AVIN
Posts: 11
Joined: 22. Feb 2016, 18:35

Re: How to pass a YES parameter from windows test file to UN

Post by AVIN »

Thanks....Can any one help...!!!!!! :D
Post Reply