Book Image

Vagrant Virtual Development Environment Cookbook

Book Image

Vagrant Virtual Development Environment Cookbook

Overview of this book

Table of Contents (17 chapters)
Vagrant Virtual Development Environment Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Packaging Vagrant boxes from ISO files


Packaging Vagrant environments for others is a very common problem. Packaging an environment can start from creating a simple base box with an operating system installed to repurposing existing virtual machines for use as Vagrant boxes. In either case, Vagrant can be a solution to the problem of sharing virtual machines with other team members.

In this example, we will create a Vagrant box from a machine (CentOS) created with VMware Fusion. The same method will apply to VMware Workstation (Windows and Linux) with similar steps required for VirtualBox.

Note

This recipe requires the use of the commercial VMware Fusion provider. For more information on this provider, see the provider homepage at https://www.vagrantup.com/vmware. For instructions on using VirtualBox to create virtual machines, see the Using existing virtual machines with Vagrant recipe of Chapter 1, Setting Up Your Environment. In the first chapter, an existing virtual machine was exported...