Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vagrant suspending automatically on Mac OS

I got Vagrant installed and I am using a provision script provided by Vaprobash.

I havent changed a bit of that script except for the ip, which runs fine.

The problem is that Vagrant stops the box without any notice and with no apparent reason.

My suspicious go toward the battery. Mac can go to 2% of battery without auto suspending, could the box be watching that and suspending due to low battery?

Has anyone else beeing through that?

like image 636
Magus Avatar asked May 09 '14 13:05

Magus


1 Answers

I wanted to add, in 4.3.30 versions of VirtualBox you can now disable this behavior:

VBoxManage setextradata global "VBoxInternal2/SavestateOnBatteryLow" 0

like image 135
Shane H Avatar answered Sep 20 '22 12:09

Shane H