Skip to Content
CentOS 8 Essentials
book

CentOS 8 Essentials

by Neil Smyth
May 2020
Beginner
261 pages
6h 32m
English
Packt Publishing
Content preview from CentOS 8 Essentials

22. Creating KVM Virtual Machines with virt-install and virsh

In the previous chapter we explored the creation of KVM guest operating systems on a CentOS 8 host using Cockpit and the virt-manager graphical tool. In this chapter we will turn our attention to the creation of KVM-based virtual machines using the virt-install and virsh command-line tools. These tools provide all the capabilities of the virt-manager and Cockpit options with the added advantage that they can be used within scripts to automate virtual machine creation. In addition, the virsh command allows virtual machines to be created based on a specification contained within a configuration file.

The virt-install tool is supplied to allow new virtual machines to be created by providing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CentOS 7 Linux Server Cookbook - Second Edition

CentOS 7 Linux Server Cookbook - Second Edition

Jonathan Hobson
Mastering CentOS 7 Linux Server

Mastering CentOS 7 Linux Server

Mohamed Alibi, BHASKARJYOTI ROY

Publisher Resources

ISBN: 9781800561830