<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Raj,<br><br>If you are looking to install updates automatically after installation assuming you have a currently working kickstart you would add yum -y to %post in your kickstart file as has already been covered and you would have:<br>1.  Boot, kickstart<br>2.  Install of OS<br>3.  %post with the yum command executes<br>4.  Your freshly installed system zooms out to the internet to update (assuming your network installed properly)<br><br>Given this is the Spacewalk channel, and granted covers kickstart as a subset of the Spacewalk install, I am going to guess that perhaps you might like something more along the lines of:<br>1.  Boot, kickstart<br>2.  Install OS<br>3.  %post registers your client with your local Spacewalk server<br>4.  Your freshly installed system automatically updates via your local Spacewalk server<br><br>If this is what you are looking for then in %post you need your client regestered:<br>https://fedorahosted.org/spacewalk/wiki/RegisteringClients<br><br>While I have not yet done this automatically, yet, I have done it manually and am now in the process of testing automating registration and update via kickstart.  Here's what I have for my F18:<br><a href="http://pastebin.com/KwKbWPkr" target="_blank">http://pastebin.com/KwKbWPkr</a><br><br>Note:  My Spacewalk server is named spacewalk.  You must change the URL to match your server name.  I have not yet figured out how to update the hosts entry via the kickstart file which is my next to-do so that I don't have to use the IP address.  My kickstart file shows the registration with the server name which will not work until I resolve the hosts entry question.<br><br>I hope this helps.<br><br><br><div><hr id="stopSpelling">Date: Wed, 5 Jun 2013 19:28:03 +0530<br>From: rajkumar600003@gmail.com<br>To: spacewalk-list@redhat.com<br>Subject: [Spacewalk-list] automatic updates after installation<br><br><div dir="ltr">I'd like to know how to configure a kickstart profile to install updates automatically after installation.<div><br></div><div>At present, after installation, I have to go and update the system manually from web interface.</div>
</div>
<br>_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list</div>                                        </div></body>
</html>