Making the most of Cached Images
Hello all,
I think I understand the Cached image and how it works, but I wish to make greater use of it and figured I would ask before wasting an hour or two doing this. Please correct any part of this that is wrong.
How it currently works:
1) InstaDMG looks for a cached image, finding none it builds the BaseOS from the install disc and the installerchoices file.
2) On completing the mounting of the new BaseOS image, instadmg checks again for CachedImage and finding none, it creates one from the newly created BaseOS image.
3) Then InstaDMG continues with Baseupdates and custom packages.
4) The next time you load up InstaDMG, it find the BaseOS CachedImage and mounts it.
5) Next it installs all the baseupdates and custom packages.
How I WANT it to work:
1) Same as above
2) Works the same as above, unless the -BUC or -BCC switch is used (see next steps)
3) Same as above unless the -BUC or -BCC switch is used:
3a) If -BUC switch is invoked then, after installing BaseUpdates, instaDMG will then create the cached image. This is done because MOST of my images use the same major updates. Why wste the same 20 minutes every time installing 10.5.4, when I can cache that. The next time InstaDMG will run, it will run as per normal, treating the BUC cached image as a normal Base OS Cached Image, but I will have removed the 10.5.4 update from my build stream and have it only include those updates I need above that, this time around.
3b) If the -BCC switch is invoked then the Cached image will be created after the entire InstaDMG process is completed. The purpose behind this is that all my images need certain basics. These are unaltered installs such as 10.54 update, itunes, iphoto and MSOffice 08. Caching these will cut my build time down drastically. Then when I need to build an image for a certain group, I can just take the cached basic and add updates, specific settings and other software.
BUC = Base plus Updates Cached image
BCC = Base plus Custom Cached image
If my understanding of how it currently works is correct then I should be able to build out my tweaks pretty easily.
On the other hand, I can short circuit the whole thing with one other piece of information.
Can I use the hash that Larkost's python script creates to name my cached image? If so, I won't bother redoing the script, I will just hash one of my base and baseplus images and dump them into the cached folder.
Thanks for all advice,
knowmad