Creates an ISO file containing a bootable macOS Sierra installer medium. This can be used to install macOS Sierra in a virtual machine.
It uses the installer application for macOS which is available on the AppStore. Therefore this script must be executed on a Mac running a macOS system.
The script is available in two versions: