Sébastien Aperghis-Tramoni
and 1 contributors

NAME

RackMan::Format::Kickstart - Generate the Kickstart config for a given RackObject

SYNOPSIS

    use RackMan::Format::Kickstart;

    RackMan::Format::Kickstart->write({
        rackdev => $rackdev,  # a RackMan::Device instance
        rackman => $rackman,  # a RackMan instance
    });

DESCRIPTION

This module generates the Kickstart configuration file for a given RackObject, based on a template provided by the user.

METHODS

write

Generate the file.

Arguments

Arguments are expected as a hashref with the following keys:

  • rackdev - (mandatory) a RackMan::Device instance

  • rackman - (mandatory) a RackMan instance

  • verbose - (optional) boolean, set to true to be verbose

TEMPLATE PARAMETERS

See "TEMPLATE PARAMETERS" in RackMan::Template for more details about the available parameters.

CONFIGURATION

This module gets its configuration from the [format:kickstart] section of the main rack.conf, with the following parameters:

  • path - specify the location to store the generated files

  • template - specify the path of the template; can be overriden by the --kickstart-template option

SEE ALSO

RackMan::Template

AUTHOR

Sebastien Aperghis-Tramoni