Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Echo text to file?
2017-10-10, 18:53
Post: #1
Echo text to file?
Is it possible to echo text to a file from my iPXE menu as in a bash script?

i.e..

#!ipxe
echo ${serial} >> http://X.X.X.X/logs/logfile.txt
Find all posts by this user
Quote this message in a reply
2017-10-11, 22:16
Post: #2
RE: Echo text to file?
If you want to output to something on a http server, use a server-side script to collect the data.
If you need to send more data then just a few strings, then you can use http://ipxe.org/cmd/param

If you want something that you use as initrd contents, that is also not supported.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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