Once the Anka Build Virtualization software has been installed onto a macOS machine, you'll typically want to ensure that the machine has high availability. This requires turning off sleep and several other default features that would cause the machine to become unavailable. Below are the preparatory steps we suggest:
sudo defaults write /Library/Preferences/com.apple.loginwindow "autoLoginUser" '<USERNAME>'
Disable require password after screensaver has started: Go to Preferences > Security > under General > uncheck
require password after screensave or sleep begins option.
Disable all forms of sleep: Go to Preferences > Energy Saver > disable any sleep options.
Alternatively, you can do this from the command-line:
# Never go into computer sleep mode systemsetup -setcomputersleep Off # Disable standby pmset -a standby 0 # Disable disk sleep sudo pmset -a disksleep 0 # Hibernate mode is a problem on some mac minis; best to just disable Sudo pmset -a hibernatemode 0
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
If you cannot perform launchctl commands, you can execute these commands from the command-line:
# Disable indexing volumes defaults write ~/.Spotlight-V100/VolumeConfiguration.plist Exclusions -array "/Volumes" defaults write ~/.Spotlight-V100/VolumeConfiguration.plist Exclusions -array "/Network" killall mds # Make sure indexing is DISABLED for the main volume mdutil -a -i off / mdutil -a -i off
Reboot the host
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.