Daniel
Daniel

Reputation: 516

Should I use vagrant halt before restarting host

I am kind of new to using vagrant with oracle's virtual box. I was wondering if anyone knows if it is a good idea or not to use vagrant halt before restarting or rebooting my host machine?

Upvotes: 0

Views: 253

Answers (1)

Prav
Prav

Reputation: 2894

Vagrant halt

is another way of saying shutdown; it is a good practice to do that since it will attempt to shut the VM gracefully where as windows will force it to. As a result you may sometimes get an error saying the VM wasn't shut properly and is now on a protected mode or saved mode and need to be rebuilt.

Upvotes: 2

Related Questions