Time
2 hours 51 minutes
Difficulty
Beginner
CEU/CPE
3

Video Transcription

00:00
Hello. My name is Jasmine Jackson and our courses intro to vagrant. And in this lesson, we will have a demo of halting a vagrant machine. Let's get started.
00:13
So the learning objectives for this video are how to halt a vagrant machine. Let's start with our demo.
00:22
Okay?
00:23
So as you can see, I have commander open and again I explain, Commander. And the second lesson where we installed Virtual box vagrant and then commander, which is a console emulator
00:40
for windows where you can execute linens commands. So I have that open and I'm in my vagrant folder
00:47
And I have executed the vagrant up Command to start our vagrant box again in boo to Trustee 64
00:56
and going to virtual box. You see that are vagrant machine is running
01:03
now. What I'm going to do is I'm going to halt our machine going back to Commander. I'm going to enter the command vagrant
01:15
halt!
01:23
And as you can see, you know, we received a message a tipped in graceful shut down a virtual machine
01:30
and going back to virtual box. Our machine has been successfully halted or shut down. As you can see, the state is powered off.
01:41
So now going back to Commander, We're going to inter vagrant up
01:47
to restart or boot or machine.
02:07
And we're going through the normal booting process.
02:12
And as you can see here, booting VM,
02:16
we have, uh,
02:19
secure show host Address. Excuse me of local host port 20 to 22 we can see that machine booted and ready.
02:30
So now going back to virtual box are virtual machine again. The Embu to trustee 64 machine as running. So we have successfully started our machine
02:45
and that
02:46
is how we halt the machine. As you can see, it was pretty painless. So we enter the command vagrant halt
02:57
here and we received a message. Excuse me. We received a message stating attempting, graceful shut down the VM. And then I was showed how r machine powered off.
03:10
And then I entered vagrant up to boot our machine and we went through the normal
03:17
procedure of starting our machine
03:23
and going back too far. Troll box. It is currently running, So we have successfully shut down and restarted our machine. So in summary in this video,
03:35
we have learned how to halt a machine with the command vagrant halt. And also how to reboot our machine with vagrant up. And in our next lesson, we will talk about how to
03:50
destroy a machine and how we should use that command very sparingly.
03:54
So I can't wait to see you in the next lecture. And I hope you have a good day. Bye.

Up Next

Introduction to Vagrant

In this introductory Vagrant training, students will learn Vagrant’s core concepts, how to configure the virtualization tool, and how it will benefit their organizations. Upon completion of the course, students will have a foundational understanding of Vagrant.

Instructed By

Instructor Profile Image
Jasmine Jackson
Application Security Engineer
Instructor