2 hours 51 minutes
Hello. My name is Jasmine Jackson and our courses intro to vagrant. And in this video I will show you how to suspend a vagrant machine. Let's get started.
The learning objectives for this video is to show how to suspend a vagrant machine. And we will be doing this using our own boots. Trustee 64 Favorite machine. So let's get started.
Okay. I am going to into a vagrant up
to make sure our
vagrant machine is running
and going to our virtual ization software again. I'm using virtual box. You will see that are vagrant Machine is running
so going back to commander
again, remember, commander is a council emulator where you can enter limits commands on a windows machine. I am going to answer the command vagrant system in two,
suspend or put our vagrant machine to sleep
and you will see there's a message saving VM state and suspending execution and going back to virtual box. You will see that are vagrant Machine is saved. So are vagrants. Is spending Are vagrants usually suspending? Our vagrant machine
was successful because we currently have a saved state.
if we want to start our vagrant machine again. Remember, we into the command vagrant,
As you can see, it says resuming suspended machine booting machine.
Okay, going back to virtual box, we see that our machine is back in a running state.
So just to
summarized first arm ish, our machine was off. So we executed the vagrant up command to bring our machine on to start our machine.
And when we did that are vagrant machine had a state of running. Next we entered the vagrants, suspend command, and we had a message that said saving machine state and suspended execution.
And again, I went back to first of all box, and we saw that our vagrant machine had a state of saved,
which meant that suspending our machine was successful.
Next to reboot the machine, we enter the vagrant up command and, as you can see in the messages, said, resuming suspended machine because remember, the command we entered before was vaguer suspend. So we had a message, that
message that said resume suspended machine
booting machine. And then when we went back to virtual box here we see that our machine again, it's back in a running state. So we were able to suspend our machine and then reboot our machine or awake our machine. And
our machine isn't a running state, which means that it is on.
So as you can see, suspending and rebooting are vagrant machine is not to that. It's, you know, just to commands, to spend Baker suspend and vagrant up.
So let's return to our lecture. So in summary in this video we discussed how to suspend a vagrant machine and we did that with the demo. And in our next video, in our next lecture, we will discuss halting a machine. And you could think of this as
shutting down the machine in windows so I can't wait to see you in that lecture
and have a good day. Bye.