Home > Bash scripting, Mac OS X, VMware, VMware ESXi > VMware custom OS X installer script adds support for VMware ESXi

VMware custom OS X installer script adds support for VMware ESXi

I’ve updated the create_vmware_osx_install_dmg.sh script that I had previously posted about here. It now includes the ability to create an .iso file, which can be used with VMware ESXi servers running on Apple hardware. See below the jump for the details.

When running the script, the user will now be asked if they want an ISO disk image for use with VMware ESXi.

Screen Shot 2013-08-09 at 10.11.59 PM

If the user selects Yes, both a .dmg and an .iso file will be created and stored in the output directory.

Screen Shot 2013-08-09 at 10.16.08 PM

Screen Shot 2013-08-09 at 10.17.04 PM

If the user selects No, a “– ISO disk image will not be created. Proceeding..” message will be displayed and a .dmg file will be created and stored in the output directory.

Screen Shot 2013-08-09 at 10.37.34 PM

The virtual drives created by VMware ESXi for OS X VMs are not automatically formatted, so support for System Image Utility‘s AutoPartition.app has been included. AutoPartition.app runs before the installation of OS X to make sure the boot drive is formatted and named correctly for the automated installation.

Screen Shot 2013-08-09 at 10.48.49 PM

Screen Shot 2013-08-09 at 10.59.58 PM

The updated script is below and has also been posted to my GitHub repo. For more details on configuring and running the script, click here.

  1. .
    June 23, 2014 at 10:24 am

    Great script. Just wondering if you know where I can find some documentation regarding the Autopartition.app? I was hoping to use your script to provide end users at remote locations a bootable USB flash drive containing your created image but have it perform some custom partitioning.

    I can see the plist, just trying to figure out whats the best way to implement it.

    We partition our HD’s with two partitions SYSTEM and DATA and my post image script binds the system to AD and redirects local /Users to DATA volume.

    I was hoping to use your script for both Macs that have just been purchased (HD is Macintosh HD, so AutoPartition would do its magic) and older systems requiring a re-image (already partitioned) so AutoPartition would not do anything, and installer would just erase and install the SYSTEM partition.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 151 other followers

%d bloggers like this: