Skip to content
forked from Rocklviv/pxe

Chef cookbook to setup PXE network booting server.

License

Notifications You must be signed in to change notification settings

gitter-badger/pxe

 
 

Repository files navigation

Build Status

pxe

PXE boot cookbook.

  • Depends on apt cookbook.
  • Depends on yum cookbook.
  • Depends on tftp cookbook.
  • Depends on apache2 cookbook.

Supported Platforms

Supported systems:

  1. Ubuntu 12.04
  2. Ubuntu 14.04
  3. Centos 6.5

Attributes

Key Type Description Value
default['dhcp']['eth'] text Ethernet adapter name for dhcp server. E.g "eth1"
default['dhcp']['configs']['subnet'] text Subnet IP E.g. '192.168.56.0'
default['dhcp']['configs']['routers'] text IP of dhcp router E.g. '192.168.56.5'
default['dhcp']['configs']['next_server'] text IP that points to TFTPD server E.g. "192.168.56.5"
default['dhcp']['configs']['dynamic_range'] text Range of IP for clients E.g. "192.168.56.100 192.168.56.200"
default['dhcp']['configs']['subnet_mask'] text Subnet mask E.g. "255.255.255.0"
default['download']['default_image'] boolean Prepare default PXE netboot image. True will download a minimal centos. true/false
default['pxe']['hostname'] text IP or hostname for apache virtual host E.g. "192.168.56.5"

TODO:

  • Complete the documentation.

Usage

pxe::default

Include pxe in your node's run_list:

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

If you have a restrict access to internet, change attribute value default['download']['from_web'] = 'false'. Then put downloaded by yourself CentOS 6.5 minimal image to files, to be able import ISO as a default netboot image. To download an iso, please use the files/default/centos_minimal_dl.sh

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: Denis Chekirda (dchekirda@gmail.com)

About

Chef cookbook to setup PXE network booting server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published