<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Josh,<br>
<br>
My kickstarts have the following four lines shortly after the
certificate installations:<br>
<br>
mkdir -p /etc/sysconfig/rhn/allowed-actions/script<br>
touch /etc/sysconfig/rhn/allowed-actions/script/all<br>
mkdir -p /etc/sysconfig/rhn/allowed-actions/configfiles<br>
touch /etc/sysconfig/rhn/allowed-actions/configfiles/all<br>
<br>
These four lines should be added by the checkmarks for Enable
Spacewalk Configuration Management and Enable Spacewalk Remote
Commands on the System Details -> Details tab of the kickstart
profile. <br>
<br>
Jonathan <br>
<br>
On 01/30/2012 02:00 PM, Josh Preston wrote:
<blockquote
cite="mid:04AF311CF44B0B44AED3EC7EA9BBFB85025E30F4@cmh01d1wexm07.domain01.VCDSI.NET"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hey guys,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Just a quick question:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When and/or where is the appropriate place
to call rhn-actions-control during a kickstart / activation?
(or similar mechanisms)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have the kickstart profile being just the
base OS install; during kickstarting, the machine is assigned
the correct activation key that updates channel memberships
and adds packages as required. I also have the Config File
Deployment option checked and have selected the appropriate
configuration channels. Upon installation however, no config
files are deployed. When looking in spacewalk, I can see the
install action is created properly but fails (in spacewalk)
because of the rhn-actions-control settings are not kosher.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">During troubleshooting, I can simply
reschedule the failed config deploy action, then on the server
perform the rhn-actions-control --enable-all command followed
by an rhn_check and viola! Pay dirt.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Ideally, this is performed during
kickstarting/installation -- I’m assuming that I need to place
an rhn-actions-control --enable-all somewhere, just not sure
the ideal spot to place it. Can I just put it in a post
script? My kickstart profile does not specify the “Tools”
channel, instead it is a subscription added by the activation
key.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please advise.<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Spacewalk-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Jonathan DeHaan
Linux Systems Engineer</pre>
</body>
</html>