Hi Folks,

I am trying to determine profile used to kickstart a particular machine, I
have tried every version of $getVar that I can think of:

(I started with the one in an example on the
https://fedorahosted.org/cobbler/wiki/KickstartSnippets wiki page)..

#set $p = $getVar('$profile')

That didn't work, so I have tried:

#set $p = $getVar('profile')
#set p = $getVar('profile', 'None')
#set p = $getVar("profile", 'None')

I noticed in the post_install_network_config snippet, they use BOTH:

#set osversion = $getVar("os_version","")

and

#set $numbondingdevs = 0

(Note the use of $ in the 2nd set command...what's the difference?)

Added #raw/#endraw ... that didn't matter.

Help...please?

Thanks in advance.

-Emmett
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to