Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Fedora 31 Essentials

You're reading from   Fedora 31 Essentials Learn how to install, administer, and deploy Fedora 31 systems

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher Packt
ISBN-13 9781800562790
Length 271 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Neil Smyth Neil Smyth
Author Profile Icon Neil Smyth
Neil Smyth
Arrow right icon
View More author details
Toc

Table of Contents (32) Chapters Close

1. Introduction 2. A Brief History of Linux FREE CHAPTER 3. Installing Fedora 31 on a Clean Disk Drive 4. Dual Booting Fedora 31 with Windows 5. Allocating Windows Disk Partitions to Fedora 31 6. A Guided Tour of the GNOME 3 Desktop 7. An Overview of the Fedora 31 Cockpit Web Interface 8. Using the Bash Shell on Fedora 31 9. Managing Fedora 31 Users and Groups 10. Understanding Fedora 31 Software Installation and Management 11. Configuring Fedora 31 systemd Units 12. Fedora 31 Network Management 13. Basic Fedora 31 Firewall Configuration with firewalld 14. Configuring SSH Key-based Authentication on Fedora 31 15. Fedora 31 Remote Desktop Access with VNC 16. Displaying Fedora 31 Applications Remotely (X11 Forwarding) 17. Using NFS to Share Fedora 31 Files with Remote Systems 18. Sharing Files between Fedora 31 and Windows Systems with Samba 19. An Overview of Virtualization Techniques 20. Installing KVM Virtualization on Fedora 31 21. Creating KVM Virtual Machines using Cockpit and virt-manager 22. Creating KVM Virtual Machines with virt-install and virsh 23. Creating a Fedora 31 KVM Networked Bridge Interface 24. Managing KVM using the virsh Command-Line Tool 25. An Introduction to Linux Containers 26. Working with Containers on Fedora 31 27. Setting Up a Fedora 31 Web Server 28. Configuring a Fedora 31 Postfix Email Server 29. Adding a New Disk Drive to a Fedora 31 System 30. Adding a New Disk to a Fedora 31 Volume Group and Logical Volume 31. Adding and Managing Fedora 31 Swap Space Index

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 Fedora 31 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 a list of command-line options. This chapter assumes that the necessary KVM tools are installed. For details on these requirements read the chapter entitled “Installing KVM Virtualization on Fedora 31”.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image