Hello. My name is Jasmine Jackson and our courses intro to vagrant. And in this lesson, we will learn how to halt a vagrant machine. Let's get started.
So and this lesson are learning objectives are
halting and how it relates to a vagrant machine and pros and cons of, of halting of a great machine. So what exactly is halting? And how does it relate to favoring?
Well, when you halt a vagrant machine, it gracefully shuts down and powered downs the machine. So the command we will use is vagrant halt.
And when we want to reboot the machine, we will enter the command vagrant up.
So the pro of halting a machine is it allows for the machine to cleanly shut down and preserve the contents. On said machine, a con of halting a machine is it takes extra time to start
from a cold boot, and it will consume a lot of disk space.
uh, analogy of halting a vagrant machine is
on windows when you shut down the machine. So when you shut down and windows, what happens is the Windows operating system will shut down your machine and power off,
and the content on the machine on your machine are saved and where you want to resume working on your machine, you would start your machine or
so you can think of halting in the same vein as shutting down your machine and windows. So now we have a quick quiz.
True or false? When haunting a vagrant machine, the machine will gracefully shut down. Is that true? Or is that false? I will give you a couple of seconds and then I will show you the answer. Let's start now, and the answer is but proper birth.
when we halt a vagrant machine, the machine, remember, will gracefully shut down and then power off your machine. So the answer is true. Yes, when halting a machine of a great machine, the VM will gracefully shut down
today we discussed halting and how it relates to a vagrant machine and pros and cons of halting of a great machine.
Now we have an end of lesson quiz,
true or false? One haunting a vagrant machine. The contents on the machines are not preserved. Is that true? Or is that false? I will give you a couple of seconds. And then I will come back with the answer. Let's start now.
Remember when haunting a vagrant machine. The contents are preserved on your machine as well as the machine gracefully shutting down. So this answer is false.
So in our next video, I will be showing a demo of how to halt a machine and then restart the machine. Remember, we are using the vagrant machine bamboo to trustee 64 that works in virtual box.
So I can't wait to see you in the next video. Have a good day