Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Embedding a variable upon compile
2015-07-29, 18:25
Post: #2
RE: Embedding a variable upon compile
(2015-07-29 16:07)nappington Wrote:  I'm just curious if it's possible to embed a variable when compiling undionly.kpxe

We have a situation where we need multiple serial baud rates - we have the ability specify which version of undionly.kpxe to use for that specific baud rate/machine that netboots, but we need a way to pass through the baud rate to the next installer.

You could use an embedded script such as
Code:
#!ipxe
prompt --key 0x02 --timeout 2000 Press Ctrl-B for the iPXE command line... && shell ||
set serialspeed 19200
autoboot

it will set serialspeed variable and continue to boot.
or you can have this in the script based on mac or other options.

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


Messages In This Thread
RE: Embedding a variable upon compile - NiKiZe - 2015-07-29 18:25



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