Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Freeform text entry
2017-03-18, 06:30 (This post was last modified: 2017-03-18 06:34 by vtwaldo21.)
Post: #1
Freeform text entry
Is there a way to elicit freeform text entry? The only input field I see is the 'login' command, but I want something where I may ask for desired hostname or something? I've searched, but found nothing.
(2017-03-18 06:30)vtwaldo21 Wrote:  Is there a way to elicit freeform text entry? The only input field I see is the 'login' command, but I want something where I may ask for desired hostname or something? I've searched, but found nothing.

To post a suggestion to my own thread, maybe I can use "read" and assign to a variable that I am not intending on using? Or can you read to arbitrary values, e.g. echo -n "Please provide foo:" && read bar

That is a simple test, but I don't have IPXE access here to try it out.
Find all posts by this user
Quote this message in a reply
2017-03-18, 11:51
Post: #2
RE: Freeform text entry
Yes read http://ipxe.org/cmd/read is exactly for this.
ipxe can be downloaded from boot.ipxe.org
it is also possible to compile and run ipxe in linux and that way make it possible to run script tests without a virtual machine and real hw

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2017-03-18, 19:02
Post: #3
RE: Freeform text entry
Thanks for the response. I was able to try it out and it works. I was hoping for something more gui friendly like the "login" and "choose" option. But I can manage with this. Thanks again.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)