Archive for the ‘VMware’ Category

Using vfuse to create NetBoot-ready VMware VMs

October 19, 2016 Leave a comment

When building virtual machines for testing, my preferred method is to leverage VMware Fusion’s NetBoot support to NetBoot to a DeployStudio server and run workflows. The process to build a NetBoot-ready VM through VMware Fusion looks like this:

1. Open VMware Fusion

2. In the Select the Installation Method window, choose Create a custom virtual machine and then click the Continue button.

Create custom virtual machine

3. In the Choose Operating System window, set OS as appropriate then click the Continue button.

Os selection

4. In the Finish window, select Customize Settings.

Customize settings

5. Save the VM file in a convenient location.

6. In your VM settings, select Network Adapter.

Vm settings network adapter

7. In the Network Adapter settings, select Autodetect under Bridged Networking.

Configure bridged network settings

At that point, you can also adjust your RAM and processor settings but that’s up to you.

The VM is now configured to be NetBoot-ready, where it’s set up to run a particular macOS version but has a formatted and completely empty boot drive.

Vmware netboot screen

This setup process has been a largely manual process involving a lot of clicking in the VMware Fusion user interface and I’ve wanted to automate this for a while. Thanks to some recent changes which my colleague Joe Chilcote made to his vfuse VM creation tool, it’s now possible to automate the setup of a NetBoot-ready VM in Fusion with the following configurable options:

  • OS version
  • VM boot drive size

For more details, see below the jump.

Read more…

Categories: Mac OS X, macOS, VMware

Session videos and slides now available from MacSysAdmin 2016

October 10, 2016 Leave a comment

The documentation from MacSysAdmin 2016 is now available, with the session slides and videos being accessible from the link below:

The videos of my sessions are available for download from here:

I also like to thank Tycho Sjögren and Apoio AB again for inviting me to speak at this year’s MacSysAdmin.

Slides from the virtualization session at MacSysAdmin 2016

October 6, 2016 1 comment

For those who wanted a copy of my virtualization talk at MacSysAdmin 2016, here are links to the slides in PDF and Keynote format.


Keynote –

Setting VMware Fusion to confirm you want to close an active VM

September 10, 2016 1 comment

I do a lot of work with virtual machines running in VMware’s Fusion hypervisor software. As part of that work, I’ll occasionally run into the following issue:

1. I’m running an application inside a VM.
2. I’m done with whatever it is and want to quit out.
3. The focus of my keyboard is not inside the VM
4. I click the Command () and Q keys to quit the application running inside the VM.
5. Instead of the application inside of the VM quitting, I see this.

Quitting vm instead of app

6. Then I say something like this.

Cursing symbols2

As part of this, I’ve often wished for some way for Fusion to warn me when I’m about to accidentally quit Fusion instead of quitting an application inside a VM. That led to me making the following observation on Twitter:

I was quickly informed that Fusion in fact had exactly that.

For more information, see below the jump.

Read more…

Virtualization session at MacSysAdmin 2016

I’ll be speaking about virtualization, with a focus on VMware solutions, at MacSysAdmin 2016, which is being held from October 4th – 7th, 2016 in Göteborg, Sweden. For those interested, my talk will be on Thursday, October 6th.

For a description of what I’ll be talking about, please see the Thursday program page.

Fixing the OS version of transferred ESXi-hosted OS X VMs

December 16, 2015 2 comments

Starting with VMware Fusion 7.x Professional, it’s been possible to transfer virtual machines from VMware Fusion to VMware ESXi. This ability has been improved with VMware Fusion 8.x Professional, but there is a recurring issue with OS X VMs transferred from VMware Fusion to VMware ESXi 6.x. The symptoms normally look like this:

1. An OS X VM running OS X 10.10.x or 10.11.x is created in VMware Fusion 8.x Professional
2. The hardware version of the OS X VM is changed to Hardware Version 11, to allow compatibility with ESXi 6.x

Screen Shot 2015 12 15 at 7 49 24 PM

3. The VM is transferred successfully to VMware Fusion 8.x Professional to the ESXi 6.x server
4. Following the transfer, the OS X VM is started but does not successfully complete the OS startup process.

Screen Shot 2015 12 15 at 9 22 41 AM

The root cause is that there is some OS information which is not transferred successfully along with the VM, but it’s relatively straightforward to fix. For more details, see below the jump.

Read more…

create_vmware_osx_install_dmg script updated with El Capitan support

October 18, 2015 5 comments

I’ve updated the script that I had previously posted about here. The script now includes support for El Capitan, so the script can now be run on 10.7 – 10.11 to create custom OS X 10.7.x, 10.8.x, 10.9.x, 10.10.x and 10.11.x installers for VMware Fusion and VMware ESXi. See below the jump for the details.

Read more…

%d bloggers like this: