Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent OSX guests going into suspend automatically #67

Open
dazwin opened this issue Jun 5, 2016 · 1 comment
Open

Prevent OSX guests going into suspend automatically #67

dazwin opened this issue Jun 5, 2016 · 1 comment

Comments

@dazwin
Copy link
Contributor

dazwin commented Jun 5, 2016

I'm running Parallels but I suspect OSX power management is putting the guest into suspend for all providers. This is not the default behavior for other boxes I know of - can it be turned off as part of prepare_iso.sh?

@timsutton
Copy link
Owner

I forget if some of the options need to be adjusted for VMs or not, but the proper way to change energy saver settings is the pmset command, run as root, from the booted OS.

So perhaps adding another provisioning script that just calls pmset sleep 0 (disabling sleep) would suffice. I'm not entirely sure that there aren't some other options that would be needed, but in my workplace where we manage physical Macs this one command seems to take care of preventing sleep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants