Chapter 8. Creating Your Own Box
So far, we have used Vagrant with the freely available base boxes. There are also many other existing base Vagrant boxes out there. In Chapter 9, HashiCorp Atlas, we will talk about how we can discover and distribute base boxes. When we discussed Vagrant boxes initially in Chapter 1, Getting Started with Vagrant, and Chapter 2, Managing Vagrant Boxes and Projects, we learned about how we can export a Vagrant environment into a new base box.
Creating a new base box involves us either taking an existing box, making changes to it, and exporting it, or creating a new virtual machine entirely, installing the operating system and building up a base box for export. In this chapter, we will take a look at how we can take a Linux installation disk and turn it into a working Vagrant base box, which we can further customize as much as we like.
In this chapter, you will learn about the following topics:
How to create a new VirtualBox machine, suitably configured for Vagrant...