15 Configuration File Macros

WARNING:

The software described in this documentation is supported for a limited period under Extended Support. Oracle Linux 7 is now in Extended Support. See Oracle Linux Extended Support and Oracle Open Source Support Policies for more information.

Consider using OS Management Hub to manage operating system infrastructure. See OS Management Hub for more information.

You can use the following standard macros with configuration files:

rhn.system.custom_info(key_name)

Value of the key key_name associated with the system.

rhn.system.description

System description.

rhn.system.hostname

System host name.

rhn.system.ip_address

Default system IP address.

rhn.system.net_interface.broadcast(ethN)

Broadcast address associated with ethN .

rhn.system.net_interface.driver_module(ethN)

Network interface driver module associated with ethN .

rhn.system.net_interface.hardware_address(ethN)

MAC address associated with ethN .

rhn.system.net_interface.ip_address(ethN)

IP address associated with ethN .

rhn.system.net_interface.netmask(ethN)

Network mask associated with ethN .

rhn.system.profile_name

Kickstart profile associated with a system.

rhn.system.sid

Oracle Linux Manager system ID.