On Apr 30, 2009, at 1:22 PM, Michael DeHaan wrote:
Gino LV. Ledesma wrote:
What I'd like to tell cobbler (step 3) is that I'm provisioning this machine for a specific user -- perhaps by passing something onto the kernel command line as a parameter, and then having the post-install section do the customization based on that. For example, I could pass in username=$username and then a script/trigger could fire off and lookup a DB for that user, and then create the accounts/profiles/apps/configs/etc automatically.
What many folks do is create a web interface that allows the user to answer specific questions, and then save those answers as template varariables in the system objects which are used when evaluating the kickstart template.
If you want to do this via PXE you must create system records.
Guys: What about making a custom image that runs the koan system register stuff? The biggest issue is to avoid having to get the MAC address into Cobbler. If you could make a custom PXE that runs on all boxes by default, and prompts for a username, or even looks up a user name -> profile name, and then runs the proper system add command, you could probably get exactly what you wanted...
It's a combination of what Gino wants, and getting that system record into Cobbler... and everyone ends up ahead.
Matthew