I am trying to pass some variable via the comment section of either the
distro and/or profile and need some help
cobbler distro dumpvars --name=SLES10SP2-x86_64 | grep comment
'comment': 'sles10sp2-x86_64',
Cobbler profile dumpvars -name=sles10sp2-generic | grep comment
'comment': 'sles10sp2-x86_64',
I created a snippet for the following
#if $getVar('comment','') == "sles10sp2-x86_64"
#set $vers="sles10sp2-x86_64-updates"
#end if
$vers
When this gets rendered it does not return sles10sp2-x86_64-updates but just
returns $vers so it appears that $getVar('comment','') is not working as
I
thought ?