[Spacewalk-list] Kickstart parameters and values
zyrius as
zyriusa at yahoo.com
Tue Jun 30 08:31:22 UTC 2015
Hi Jeff,
I'm creating kickstart file with spacewalk kickstart wizard. Maybe you could advice where and what should i write to get value of $http_server or $redhat_management_server. I want to download some extra files from spacewalk master or proxies, but need to know from which server kickstart was called.
On Monday, June 29, 2015 5:17 PM, "Kalchik, Jeffery" <JDKalchik at landolakes.com> wrote:
#yiv2819212332 #yiv2819212332 -- _filtered #yiv2819212332 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv2819212332 {font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv2819212332 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv2819212332 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv2819212332 {panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv2819212332 #yiv2819212332 p.yiv2819212332MsoNormal, #yiv2819212332 li.yiv2819212332MsoNormal, #yiv2819212332 div.yiv2819212332MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv2819212332 a:link, #yiv2819212332 span.yiv2819212332MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv2819212332 a:visited, #yiv2819212332 span.yiv2819212332MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv2819212332 span.yiv2819212332EmailStyle17 {color:#1F497D;}#yiv2819212332 .yiv2819212332MsoChpDefault {font-size:10.0pt;} _filtered #yiv2819212332 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv2819212332 div.yiv2819212332WordSection1 {}#yiv2819212332 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/20150630/3f118d90/attachment.htm>
More information about the Spacewalk-list
mailing list