Personal tools

rPath Appliance Platform Agent:Configure Network Plugin

From rPath Wiki

Jump to: navigation, search
rPath Appliance Platform --> Agent --> Plugins --> Standard Plugins --> Configure Network Plugin

The rPath Appliance Platform Agent (rAPA) includes a Configuration plugin which is enabled by default, and Configure Network is part of that plugin. The plugin allows a rAPA user to view and edit the appliance network configuration, including:

  • Appliance host name
  • DNS search domain
  • DNS servers
  • Gateway
  • IP address, netmask, and gateway for each network interface, as well as specify whether to get this information from a DHCP-enabled server.

Use the Configure Network Plugin Interface

The Configure Networking page in the Appliance Administration pages provides complete instructions for using the plugin interface.

Appliance Developer Notes

Appliance developers can use the following features of this plugin as when including rAPA as part of an appliance.

Hostname Change Scripts

Because a hostname change on an appliance can require additional changes on the appliance, rAPA can be configured to run scripts before and after a hostname change. To make use of this feature, use the configure.network.prescript and configure.network.postscript lines in the Configuration plugin's configuration.cfg file. A checkout of rAPA files should include configure.cfg in raaplugins/configure/ (which group-raa will install at /usr/lib/raa/raaplugins/configure/configure.cfg). Modify the file as follows:

  1. To add a script to be run just prior to changing the hostname, remove the "#" comment in front of the configure.network.prescript line and type the path to the script on the appliance.
  2. To add a script to be run just after changing the hostname, remove the "#" comment in front of the configure.network.postscript line and type the path to the script on the appliance.

Package the modifications for the appliance as with modifications to other standard plugins.