Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

RoboRobok's avatar

How to edit Vagrantfile for Homestead?

Hi guys, I'm getting 100% CPU usage from VBoxHeadless process. After some research, it turns out this setting in Vagrantfile should help:

$enable_serial_logging = false

How do I change this in Homestead? Should I put it to Vagrantfile or Homestead.yaml? And which lines exactly?

0 likes
4 replies
aurawindsurfing's avatar

I suppose homestead.yaml is just a configuration for an Vagrant box that has its own Vagrantfile. The right way would be to put it into homestead.yaml since it will pass it down to Vagrantfile. Just look at both files and how they reference each other.

RoboRobok's avatar

That's what I think too, but I still have no idea how to pass these variables. Homestead is not documented too well.

RoboRobok's avatar

I'm installing VirtualBox Guest, I've heard it can help too. Nobody experienced 100%+ CPU usage with Homestead recently? The fan is making me crazy, it's works hard all the time.

RoboRobok's avatar

Unfortunetely it didn't help. Maybe the machine should be destroyed and installed again?

Please or to participate in this conversation.