Our Initial Question:
Q. What is the equivalent of a "Kickstart" (or preseed) file in OS X? What file can you create with OS X that would customize an OS X Install AT, or before, Install-time?
- My initial thought was the InstallerChoices.xml file - but as far as I'm aware that file isn't 'read' by the OS X Installer during Installation - it has to be submitted as an argument.
Greg responded to me with the below:
"Yes, I suppose the ChoiceChangesXML file (of whatever name) is the closest analogue of the Kickstart file.
You could create a workflow that curled an InstallerChoices.xml file and used it to install; there's no way to get Apple's Installer to do that for you that I know of. But if you are using disk-free NetBooting, you can do almost anything at that point."
There are articles here, and here on Netbooting from Linux machines. Ohad Levy is the author of a tool called The Foreman http://theforeman.org and is possibly looking at rolling this solution into The Foreman. What might be the best way to do this?
Feel free to comment below:
As I understand it glarizza is right but that is (maybe) not the only option. In OSX theres actually two ways of doing installations after netbooting, you could boot into a "reduced OS" like DeployStudio does, and then use tools within that context to restore images.
The other way is to use something called NetInstall. Instead of booting into a more or less full OS to RAM and work from there, you then could maybe boot directly to the Apple OS installer application. And THIS installer could possibly be customised by an ChoiceChangesXML-file. You would however need to apply a number of changes to the source image beforehand, and as far as I know you'd need to use OSX to do that. I'm not 100% on this though, or even if NetInstall could work this way, maybe someone else knows.