On Tue, 19 Apr 2011 10:24:34 -0700, Bryson Lee lee.bryson@ssd.loral.com wrote:
Hi,
Is there a way to get Cobbler (2.0.9) to expand variable references in a system's kopts setting? I have number of systems that are configured with static IP addresses, and I'd like to have the network settings inserted into the "append" line in the Cobbler-generated yaboot.conf files.
I found Ticket #21, closed years ago, that states that an '@@variablename@@' syntax is honored in templated contexts, but when I tried it, the '@@var@@' references showed up unchanged in the /var/lib/tftpboot/etc/xx-xx-xx-xx-xx-xx file.
Has another syntax superseded '@@var@@' for this purpose?
I believe if you do 'cobbler system edit --name FOO --static True' you should get what you want.