Bug 489423 - Add a way to regenerate KS files on disk
Summary: Add a way to regenerate KS files on disk
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2009-03-09 22:52 UTC by Partha Aji
Modified: 2009-09-17 07:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:11:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Partha Aji 2009-03-09 22:52:20 UTC
When a kickstart profile is currently created through the wizard, the actual file is dumped on the hard drive at the creation time.  This means that any time there is an update in the code that fixes the KickstartFormatter the administrator has to apply the patch and renegenerate the files one at a time. 

A better option would be to have either a taskomatic task to check the time stamps in the file system and the rhnKickstartData and basically regenerate profiles on update AND have an api call to force regenerate each profile..

Comment 1 Justin Sherrill 2009-03-11 17:14:07 UTC
So I added a task to look for missing Wizard-style kickstart files.  If one is missing then it simply regenerates it.  

This will provide a solution for upgrades to spacewalk/satellite with cobbler, as wizard ks files will now be generated automagically.

Not sure an API call is necessary simply because the user only needs to delete everything in /var/lib/rhn/kickstarts/wizard/  to regenerate all the files.  


commit	b17b9a4c297d19f38acda26690af11c88912bf3f
tree	7b3214a5a63b865efe7b79d9dcfea9df2f62b13c	tree | snapshot
parent	0585f8d4199dfc780b92cba41cff27692a6b5411	commit | diff

Comment 2 Jesus M. Rodriguez 2009-04-14 14:13:27 UTC
Spacewalk 0.5 released.

Comment 3 Miroslav Suchý 2009-09-17 07:11:00 UTC
Spacewalk 0.5 has been released for long time ago.


Note You need to log in before you can comment on or make changes to this bug.