Setting up a Mac VM (El Capitan)

I'm all about Virtual Machines. Once you have the freedom and safety net of developing on a VM, you'll never want to go back.

On a forum at InsanelyMac.com I found this helpful bash script for creating an El Capitan install .iso. I changed it a bit and then used it for creating a Mac VM in Virtual Box.

#!/bin/bash

 # Mount the installer image
 echo "**********************************************************"
 echo "Mounting the installer image"
 echo "**********************************************************"

 hdiutil attach /Applications/Install\ OS\ X\ El\
Read More