NAME

CBAIS::Actions::Reboot - reboot a host during install


SYNOPSIS

$reboot = new CBAIS::Actions::Reboot(SPOOL_DIR => '/etc/cbais');

$reboot->execute(@remaining_actions);


DESCRIPTION

The CBAIS::Actions::Reboot class implements a CBAIS action which is used to trigger a reboot during an installation.


METHODS

new

The constructor. The following hash keys are required to be passed.

SPOOL_DIR
the file to append to e.g. /etc/system.

HOST_CONFIG
the CBAIS host config object for this host. Used to get the OS specific reboot command.