Errno 28 When Trying to Update VMware ESXi

When trying to update/upgrade ESXi 6.7 (via software profile update command) you may run into the following error message:

The solution is to set the host swap to use a datastore. In vSphere Web Access:

  1. Navigate to Host->Manage->System->Swap. At this point, the Datastore setting should be set to No.
  2. Choose Edit Settings, select a valid Datastore in the drop down menu, then Save.
  3. Now you are ready to issue the profile update command again to patch ESXi