Skip to content

Instantly share code, notes, and snippets.

@Fossil01
Created February 9, 2016 15:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Fossil01/b3ae40dfcb4405601489 to your computer and use it in GitHub Desktop.
Save Fossil01/b3ae40dfcb4405601489 to your computer and use it in GitHub Desktop.
Edgerouter / VyOS / Vyatta iPXE DHCP Options
set service dhcp-server global-parameters "if exists user-class and option user-class = "iPXE" {"
set service dhcp-server global-parameters "filename "http://172.29.0.27/ipxe/boot.php";"
set service dhcp-server global-parameters " } else { "
set service dhcp-server global-parameters "filename "undionly.kpxe";"
set service dhcp-server global-parameters "}"
set service dhcp-server global-paramters "next-server 172.29.0.27;"
@blha303
Copy link

blha303 commented Sep 6, 2018

worth noting, make sure you remove bootfile-name and bootfile-server from dhcp-server subnet config, as that takes priority over the above settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment