RackMan::Format::PXE - Generate the PXE config for a given RackObject
use RackMan::Format::PXE; RackMan::Format::PXE->write({ rackdev => $rackdev, # a RackMan::Device instance rackman => $rackman, # a RackMan instance });
This module generates the PXE configuration file for a given RackObject, based on a template provided by the user.
Generate the file.
Arguments
Arguments are expected as a hashref with the following keys:
rackdev - (mandatory) a RackMan::Device instance
rackdev
rackman - (mandatory) a RackMan instance
rackman
verbose - (optional) boolean, set to true to be verbose
verbose
See "TEMPLATE PARAMETERS" in RackMan::Template for more details about the available parameters.
This module gets its configuration from the [format:dhcp] section of the main rack.conf, with the following parameters:
[format:dhcp]
path - specify the location to store the generated files
path
template - specify the path of the template; can be overriden by the --pxe-template option
template
--pxe-template
RackMan::Template
Sebastien Aperghis-Tramoni
To install RackMan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RackMan
CPAN shell
perl -MCPAN -e shell install RackMan
For more information on module installation, please visit the detailed CPAN module installation guide.