Tapper::Remote::Config - Get configuration from Tapper host
use Tapper::Remote::Config;
Get hostname of tapper MCP host from kernel boot parameters.
@returnlist ($host,port) - string, int - hostname and port of MCP server
This function returns the host name of the machine. When NFS root is used together with DHCP the hostname set in the kernel usually equals the IP address received from DHCP as a string. In this case the kernel hostname is set to the DNS hostname associated to this IP address.
@return hostname of the machine as set in the kernel
Get local data needed for all tools running locally on NFS. The function tries to get the MCP host and fetches the config from there. This reduces any need for configuration outside MCP host and thus allows to use unchanged NFS root file systems for both testing and production, with different MCP servers and so on.
@return success - hash reference containing the config @return error - error string
AMD OSRC Tapper Team, <tapper at amd64.org>
<tapper at amd64.org>
None.
You can find documentation for this module with the perldoc command.
perldoc Tapper
Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
This program is released under the following license: freebsd
To install Tapper::Remote, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tapper::Remote
CPAN shell
perl -MCPAN -e shell install Tapper::Remote
For more information on module installation, please visit the detailed CPAN module installation guide.