[Spacewalk-list] Kickstart parameters and values

Kalchik, Jeffery JDKalchik at landolakes.com
Mon Jun 29 14:17:41 UTC 2015


Good morning, Zyrius.

They seem to work for me.

Those are not shell variables, but koan/cheetah fields.  You can’t use them directly inside #raw/#end raw tags.  You can set them into shell variables, though.

From a code snippet:

export ACTIVATION_KEYS='$getVar("redhat_management_key","DEFAULT_KEY”)'

From the resulting kickstart:

export ACTIVATION_KEYS='SERVER_KEY'

Yes, I’ve changed the values.  I’ve been doing this for 5+ years.

Jeff Kalchik
Systems Engineering
Land O’Lakes
651-375-2421

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of zyrius as
Sent: Monday, June 29, 2015 3:38 AM
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] Kickstart parameters and values

Hello,
I'm creating kickstart file on spacewalk 2.3 and want to use value of $http_server or $redhat_management_server in post script section. It works in advanced options -> custom options, but not in post scripts. How can i get that value in post section  script?

This message may contain confidential material from Land O'Lakes, Inc. (or its subsidiary) for the sole use of the intended recipient(s) and may not be reviewed, disclosed, copied, distributed or used by anyone other than the intended recipient(s). If you are not the intended recipient, please contact the sender by reply email and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150629/bf3e7d6b/attachment.htm>


More information about the Spacewalk-list mailing list