Suspending a Vagrant Box
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
Already have an account? Sign In »
2 hours 51 minutes
Hello. My name is Jasmine Jackson and our courses intro to vagrant. And in this lesson, we will learn how to suspend a vagrant machine.
Let's get started.
Are learning objectives for this video are
learning the definition of suspending a vagrant machine and pros and cons of doing so.
so suspending a vagrant machine, What does that mean? Well, when you suspend a vagrant machine, it saves the current state of that machine and stops it.
So a good analogy of this is when you put your windows computer on hibernate or sleep
you. When you do this, you're saving the current state and the machine will stop and
go to sleep. So for suspending a vagrant machine, we will use the command vagrants suspend. And when we want to resume or restart the mission in, we will enter the command vagrant up.
So a pro of suspending a machine of a great machine is that
it allows for a fast reboot, so meaning that when you suspend a machine and you bring the machine back up, the machine will start in 5 to 10 seconds.
A con of suspending a vaguer machine is that it will consume a lot of disk space.
So if you have a computer with very little disk space, you probably don't want to suspend your machine. You will probably want to halt your machine or shut down your vagrant machine. But we will talk about that in our next lecture.
So let's continue.
we have a quick
True or false? Suspending a vagrant machine saves the state of that machine. Is that true? Or is that false? I will give you a couple of seconds and then I will give you my answer. Let's start down.
And the answer is but Papa bar
So remember, when you suspend a vagrant machine, the state of the machine is safe. So this is true? Yes, well, you suspend a vagrant machine, the state of the machine is saved
so and submarine
and this video we learned the definition of suspending a vagrant machine and we also learned of pros and cons of doing so.
So now we have end of the lecture quiz and the question, true or false, was suspending a vagrant machine. The machine would not consume a lot of just disk space. Excuse me, Is that true or is that false? I will give you a couple of seconds and then I will come back with my answer.
Let's start now.
And the answer is the bar
false remembered that this is a con
of suspending a vagrant machine because we suspend a favorite machine. It does take a lot of this disk space. The machine consumes a lot of disk space where you suspend a vagrant machine. So this is false.
So remember, this is again a con of suspending a vagrant machine. Is that yes, it will consume
a lot of disk space. And as I said before, if you have a computer that does not have a lot of disk space, you will probably want to halt or shut down your vagrant machine. And we will discuss that in our next lecture. So I hope that you have
I enjoyed our lecture on suspending a vagrant machine. I hope you have learned
what suspending a vagrant machine means the definition as well as the commands to do so. Remember, vagaries suspend to suspend a vagrant up to reboot,
and in our next video, I will show you a demo of how to actually suspend our Mobutu trustee 64 machine. So I can't wait to see you in that video. Have a good day. Bye.