boxcutter / macos

Virtual machine templates for macOS written in legacy JSON
MIT License
314 stars 65 forks source link

Disable login screensaver & complete when older vmware tools fails install #34

Closed jmartin-tech closed 6 years ago

jmartin-tech commented 6 years ago

Although by default the boxcutter VM built will auto login and simply disabling the user screen saver can be enough, however in some cases the use may invoke the login screen on the VM. When this occurs the screen saver may start and waist resources.

Also the latest versions of VMware products ship with darwin.iso tools that are only compatible with 10.11 or greater. In this case when minimize.sh attempt to shink the volume it fails causing the entire build to abort. A check is added to allow build completion when vmware-tools-cli is not found.

    vmware-iso: Installing VMware tools..
    vmware-iso: installer: Cannot install on volume / because it is disabled.
    vmware-iso: installer: OS X version 10.11 or later is required.