![]() We’ll see “default” again and again as we work through these examples. This is very clearly telling us that we haven’t created the VM associated with this environment so we’ll do that next. Then the machine is not created for that environment. If a machine is not created, only theĭefault provider will be shown. Run `vagrant up` toĬreate the environment. ![]() The environment has not yet been created. To start, we’re going to create a new directory to house our project files. We’re not going to want to redo our infrastructure after 9 months so while the older version may have older versions of some packages it’s not worth the hassle of refreshing all the servers all the time. The LTS release gets support for five years while the non-LTS releases are only supported for 9 months. Ubuntu 20.04?Īt the time of this writing Ubuntu has recently released 20.10 (in October of 2020) so why are we using 20.04? The reason for this is that while Ubuntu releases a new version every 6 months they only create a Long Term Support (LTS) release once every two years in April. ![]() We’re going to use the generic/ubuntu2004 box which contains Ubuntu 20.04. When picking a box it should match the version of whatever operating system will be installed on our production environment so we can reduce those “works on my machine” bugs. These boxes can be gigabytes in size but the bulk of the box is an image of the hard drive in it’s initial state.Ī list of possible boxes can be found on the public Vagrant box catalog. Vagrant uses “boxes” which are the package format for Vagrant environments. In this series, we’re using version 2.2.14 of Vagrant and 6.1.16 of VirtualBox. You’ll need them in order to follow along with this article. If you haven’t already, make sure to install VirtualBox and Vagrant. ![]() In this article, we’ll discuss Vagrant Boxes, pick a specific box that matches our target production environment, and create our base Vagrantfile. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |