Skip to content

acritox/pxeserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chef cookbook to install a PXE server

  • Depends on apt cookbook.
  • Depends on tftp cookbook.
  • Depends on nfs cookbook.

Usage

pxeserver::default

Include pxeserver in your node's run_list:

{
  "run_list": [
    "recipe[pxe::default]"
  ]
}

Setup

Add the following chunk to your existing ISC dhcpd.conf file:

next-server X.X.X.X;
if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://X.X.X.X:6767/boot.ipxe";
}
else {
    filename "undionly.kpxe";
}

Change X.X.X.X to the IP of the pxeserver node. Adjust the port accordingly: default: 6767, can be changed in your node's attributes:

{
  "pxeserver": {
    "httpdport": 6767
  }
}

About

Chef cookbook to install a PXE server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published