Creating your own virtual machine images

The preceding process described will be fine for many enterprises, but sooner or later, the requirement will come about to create your own completely customized virtual machine image. Fortunately, modern Linux distributions make it easy to achieve this, and you don't need to even be on the same platform as you are building.

Let's take a look at building a CentOS 7.6 virtual machine image using an Ubuntu 18.04 Server host:

  1. The first step before we begin is to ensure that the build host is capable of running virtual machines—this is normally a set of CPU extensions that are included with most modern x86 systems. It is also possible to build virtual machine images using nested virtualization, that is, ...

Get Hands-On Enterprise Automation on Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.