The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Variable in boot menu
2019-10-11, 21:37 (This post was last modified: 2019-10-20 15:07 by fred.)
Post: #1
[solved] Variable in boot menu
Hello,

This is what I have and compil from rom-o-matic and work:
Code:
#!ipxe
dhcp
chain http://192.168.10.118/menu.ipxe
exit

But I want to passing variable in this menu something like:

Code:
#!ipxe
dhcp
chain ${menu-url}
exit

I see the complet menu of robinsmidsrod, and I tried:
Code:
#!ipxe
dhcp
# Global variables used by all other iPXE scripts
chain --autofree boot.ipxe.cfg ||


# Boot <boot-url>/menu.ipxe script if all other options have been exhausted
chain --replace --autofree ${menu-url} ||

And in boot.ipxe.cfg:
Code:
set boot-url http://192.168.10.118/

set menu-url ${boot-url}menu.ipxe

It's not working. Only when I compil this full IP.

I don't understand where is my error? Can you show me the way to work?
Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[solved] Variable in boot menu - fred - 2019-10-11 21:37
RE: Variable in boot menu - NiKiZe - 2019-10-13, 02:26
RE: Variable in boot menu - fred - 2019-10-14, 20:49
RE: Variable in boot menu - NiKiZe - 2019-10-14, 23:20
RE: Variable in boot menu - fred - 2019-10-15, 08:03
RE: Variable in boot menu - cckp - 2019-10-15, 11:38
RE: Variable in boot menu - fred - 2019-10-15, 12:27
RE: Variable in boot menu - fred - 2019-10-17, 07:56
RE: Variable in boot menu - fred - 2019-10-17, 08:19
RE: Variable in boot menu - fred - 2019-10-18, 10:00
RE: Variable in boot menu - fred - 2019-10-18, 11:06
RE: Variable in boot menu - fred - 2019-10-18, 12:36
RE: Variable in boot menu - fred - 2019-10-20, 15:07



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