Code Monkey home page Code Monkey logo

pxe's Introduction

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 ([email protected])

pxe's People

Contributors

podwhitehawk avatar rocklviv avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.