Re:Show HN: OSX-ISO – Create a bootable ISO of macOS from th...
by hoistbypetard on Monday November 06, 2017 @09:39PM
(#15640687)
I run build systems as images on an ESXi host which runs on a Mac Mini.
The easiest way to install OS X on ESXi is from an iso. My scripts for creating these isos are not as nice as this one. (I use ESXi because I find I can get one or two more build VMs per Mini this way.)
I'd never heard of Disk Maker X before, but at a glance it does not look like it can emit an iso.
You can skip a lot of the convert/copy/asr steps by just using the hdiutil -srcfolder command, targeted to the createinstallmedia DMG, in conjunction with your target format. (This can be reproduced in Disk Utility as well, by the way.) As far as I can tell, you need about 3 commands here, and not a 189 line bash program with functions.
As mentioned elsewhere, Disk Maker X is the way to go. Thanks for sharing your work though, even if it's a bit over-built.