cookbook 'pxe', '~> 1.0.5', :supermarket
pxe (1) Versions 1.0.5 Follow4
Installs local bootstraping and installation system via PXE booting.
cookbook 'pxe', '~> 1.0.5'
knife supermarket install pxe
knife supermarket download pxe
pxe
PXE boot cookbook. * Depends on apt cookbook. * Depends on yum cookbook. * Depends on tftp cookbook. * Depends on apache2 cookbook.
Supported Platforms
Supported systems: <ol> <li>Ubuntu 12.04</li> <li>Ubuntu 14.04</li> <li>Centos 6.5</li> </ol>
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
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
Author:: Denis Chekirda (dchekirda@gmail.com)
Dependent cookbooks
apache2 >= 0.0.0 |
tftp >= 0.0.0 |
yum >= 0.0.0 |
apt >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
1.0.5
- Bug fixing.
- Serverspec tests.
1.0.4
- Added checks to prevent multiple executions of mount/umount while converge.
- Added support for Ubuntu 14.04
1.0.3
Chef cookbook to install PXE network booting server. * Small fixes * Added support of CentOS 6.5 and Ubuntu 12.04
1.0.0
- Initial release of pxe.
Collaborator Number Metric
1.0.5 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.5 failed this metric
FC064: Ensure issues_url is set in metadata: pxe/metadata.rb:1
FC065: Ensure source_url is set in metadata: pxe/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pxe/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: pxe/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.5 passed this metric
Publish Metric
1.0.5 passed this metric
Supported Platforms Metric
1.0.5 passed this metric
Testing File Metric
1.0.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.5 passed this metric
1.0.5 failed this metric
1.0.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.5 failed this metric
FC064: Ensure issues_url is set in metadata: pxe/metadata.rb:1
FC065: Ensure source_url is set in metadata: pxe/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pxe/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: pxe/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.5 passed this metric
Publish Metric
1.0.5 passed this metric
Supported Platforms Metric
1.0.5 passed this metric
Testing File Metric
1.0.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.5 passed this metric
1.0.5 failed this metric
FC065: Ensure source_url is set in metadata: pxe/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pxe/metadata.rb:1
FC070: Ensure supports metadata defines valid platforms: pxe/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.5 passed this metric
Publish Metric
1.0.5 passed this metric
Supported Platforms Metric
1.0.5 passed this metric
Testing File Metric
1.0.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.5 passed this metric
1.0.5 passed this metric
1.0.5 passed this metric
Testing File Metric
1.0.5 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.5 passed this metric
1.0.5 failed this metric
1.0.5 passed this metric