Skip to content
MuirSandwich
Go back

Workflow for a quick master image creation and deployment using DeployStudio

DeployStudio has become far and beyond one of the most indispensable tools in my tech arsenal for multiple Macintosh deployments. It makes it incredibly easy to take a master image you’ve created for your office or a customer, and deploy it out to multiple systems over your network all while automating Computer Names, extra package installations, partitioning, Boot Camp, and many others…

However, there was one hiccup that made the whole process a little slower with the advent of OS X 10.7 Lion: hdiutil. When Lion was released, Apple changed how hdiutil works behind the scenes (as far as I know) which drastically increased how long it takes when going through DeployStudio image creation. I’ve given the image creation task about two hours for something as small as 20GB. If you are attempting a deployment in one day, two hours can easily ruin your plans. For some reason though, there are no slowdowns by using Disk Utility and saving the .dmg locally…

In the past, I usually just accepted it and figured out how to work around the slowdown, but we recently found a nice workaround using the free and open source Create-Recovery-Partition-Installer, available on GitHub at https://github.com/MagerValp/Create-Recovery-Partition-Installer. By using this tool with the same copy of your OS X Installer, you can quickly make a small .pkg installer that will automatically create the Recovery Partition on the system you are working on.

This way, by using Disk Utility to create the .dmg locally and Create-Recovery-Partition-Installer, we can take the resulting .dmg and .pkg, move them to the DeployStudio Repository, and create a quick workflow in close to half the time it takes to use DeployStudio to do the same thing.

Here is final workflow I use in order:


Share this post:

Previous Post
On becoming a (foster) father...
Next Post
Creating DNS records in OS X Server for top level domains