Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How setup iPXE to skip dhcp root-path parameter on boot
2015-12-25, 04:41
Post: #1
How setup iPXE to skip dhcp root-path parameter on boot
Hello.
Merry Christmas!
I have the following issue: For my boot image needed option dhcp root-path for future use in the format of IP:/some/path/. But if my DHCP server returns it, iPXE trying to connect SAN device and receives an error - Could not open SAN device: Operation not supported (http://ipxe.org/3c092003).
Can I setup iPXE so that it skip and ignored the option dhcp root-path and continues to boot without attempting to open SAN device?
Best regards.
Find all posts by this user
Quote this message in a reply
2016-01-19, 08:25
Post: #2
RE: How setup iPXE to skip dhcp root-path parameter on boot
(2015-12-25 04:41)dosik Wrote:  Hello.
Merry Christmas!
I have the following issue: For my boot image needed option dhcp root-path for future use in the format of IP:/some/path/. But if my DHCP server returns it, iPXE trying to connect SAN device and receives an error - Could not open SAN device: Operation not supported (http://ipxe.org/3c092003).
Can I setup iPXE so that it skip and ignored the option dhcp root-path and continues to boot without attempting to open SAN device?
Best regards.

Yes:

Code:
unset {$17} ||
will zero out the root-path, if you want to keep root-path and not boot from it, do something like this:

Code:
iseq {$17} $actualdhcp_root-path && goto action_1 || goto_action2

:action_1
boot

:action_2
$do_what_you_need

"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 




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