Installing a Vagrant Box
Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or
Already have an account? Sign In »

Video Transcription
00:00
Hello. My name is Jasmine Jackson and our courses intro to vagrant. And in this lecture, I will show you a demo on how to add a pre configure box or pre configure machine to vagrant. So let's go.
00:15
The learning objectives for this video are we will learn how to add a pre configured machine too vague. Great.
00:23
Let's go.
00:24
Okay, so we're using the Commander Consul. And remember, the commander Consul is a windows console where you can enter Lennix commands on windows. Right now we're in our vagrant folder. So to add a pre configured vagrant machine or box,
00:43
we're gonna enter the command vagrant
00:46
a mix
00:47
and then the name of the pre configure box in this case in Boone to
00:56
trusty 64. And we're going to press enter.
01:04
Great. We have ah
01:07
display That says a vagrant file has been placed in this directory. You are now ready to vagrant up your first virtual environment. So opening the vagrant foul, you will see the majority of the text is green, meaning that it is commented out and will not be executed by a grit.
01:26
Looking at line number eight, we see the beginning of the configuration
01:30
with the vagrant diet configure and the number two were specifies that we're using a later version of Vagrant and looking At Line 15. We see the command config, divey m dot box and the name of the pre configure machine we entered in Commander,
01:49
which was Mobutu Trustee 64.
01:53
And if you look at the comments online 13 and 14 it says every fragrant development environment requires a box. You can search four boxes at Https Colon four slash four slash bakery cloud dot com. Four slash search.
02:09
So remember during the lecture, I went to that search page
02:15
and we were able to sort or filter by providers because remembered, the pre configure machines are provider specific. Each machine is provider specific, meaning that all machines do not work for each providers. So we were able to
02:34
feel to buy providers. We were also able to
02:38
sort by a number of downloads. And remember that Mobutu Trustee 64 machine had the most downloads. We were able to sort by machines that were recently created and machines that were recently updated. Also, we saw the labels. If you don't want toe
02:58
filter by the providers at the top of the search,
03:02
where page you can always look at the machine and there's labels next to that machine that also
03:12
tails you. Which provider works for that specific machine?
03:15
So in this case, remember when we used the vagrant and Mitt command,
03:22
Our vagrant fouls is automatically created and remember, as I said, if there's nothing else that you learned in this course, the vagrant foul is the most important foul,
03:34
as you can see here because it specifies the configuration for your vagrant machine. So the vagrant file is the configuration file for your vagrant machine, and in this case, right now in our configuration, the only thing that will run at this point is
03:53
line
03:54
number eight and line number 15 that specifies were using the own boo to trustee 64 pre configured machine.
04:03
And in our next lecture, I will talk about how to start that machine. But first, let's go back to our lecture. So in summary in this video, we just discussed how to add a pre configured machine to vagrant. And as I said
04:23
a few seconds ago and our next video, it will be another demo on how to start our own boo to trustee 64 machine. Right now we have it added inside of our configuration file the vagrant file.
04:39
And now and in our next video, which is another demo, I will show you how to start
04:44
that machine. So I can't wait to see you in that lecture. Have a good day. Bye.
Up Next
Similar Content