Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Variable in boot menu
2019-10-18, 10:31 (This post was last modified: 2019-10-18 10:31 by MultimediaMan.)
Post: #14
RE: Variable in boot menu
OK, add these lines in your DNSMASQ:

Replace Line 14 with the following and restart DNSMASQ:

Code:
dhcp-option=17,http://192.168.10.118/
dhcp-option=66,192.168.10.1

Here is your new embedded script:

Code:
#!ipxe

dhcp ||

echo ${3}
echo ${17}
sleep 5

set menu-url ${17}/menu.ipxe

#debugging lines below
echo initrd ${menu-url}
initrd ${menu-url} && goto success || goto failure

:success
echo Success!
sleep 5
goto command

:failure
echo Failure!
sleep 5

:command
#Actual Command...
chain ${menu-url} ||

#For Troubleshooting after Failure...
shell

Best,

M^3

"Thus far, you have been adrift within the sheltered harbor of my patience..."
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 - MultimediaMan - 2019-10-18 10:31
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)