[Spacewalk-list] Error with configuration macros on vlan interfaces
Patrick Hurrelmann
patrick.hurrelmann at lobster.de
Wed Aug 8 13:51:34 UTC 2012
Hi all,
I'm trying to create some configuration files, that use the ip_address
and netmask macro. But as this is on vlan interfaces the interface name
is "bond0.100". But using the interface name "bond0.100" in the macros
the web ui yields the following errors:
Invalid arguments 'bond0.100' to macro function
'rhn.system.net_interface.ip_address'
Invalid arguments 'bond0.100' to macro function
'rhn.system.net_interface.netmask
The config used is:
IPADDR={|rhn.system.net_interface.ip_address(bond0.100)|}
NETMASK={|rhn.system.net_interface.netmask(bond0.100)|}
How to use these 2 macros with vlan interfaces that have a dot in their
name?
Thanks and regards
Patrick
--
Lobster LOGsuite GmbH, Hauptstraße 67, D-82327 Tutzing
HRB 178831, Amtsgericht München
Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
More information about the Spacewalk-list
mailing list