Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Red Hat Enterprise Virtualization

You're reading from   Getting Started with Red Hat Enterprise Virtualization Leverage powerful Red Hat Enterprise Virtualization solutions to build your own IaaS cloud

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781782167402
Length 178 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Pradeep Subramaniaan Pradeep Subramaniaan
Author Profile Icon Pradeep Subramaniaan
Pradeep Subramaniaan
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. An Overview of Red Hat Enterprise Virtualization FREE CHAPTER 2. Installing RHEV Manager and Hypervisor Hosts 3. Setting Up the RHEV Virtual Infrastructure 4. Creating and Managing Virtual Machines 5. Virtual Machine and Host High Availability 6. Advanced Storage and Networking Features 7. Quota and User Management 8. Managing a Virtualization Environment from the Command Line 9. Troubleshooting RHEV 10. Setting Up iSCSI, NFS, and IdM Directory Services for RHEV Index

Virtual machine templates

Now that you know how to create a virtual machine, you can save its settings to a template. This template will retain the original virtual machine's configurations, including virtual disk and network interface settings, operating systems, and applications. You can use this template to rapidly create replicas of the original virtual machine.

Creating a Red Hat Enterprise Linux template

To create a RHEL virtual machine template, you need to seal a virtual machine in order to remove a few important system-related settings so that they do not get propagated across the templates and on to the virtual machines that we are going to create using these templates. To seal a Linux virtual machine, follow these steps:

  1. Log in to the virtual machine as a root, and perform the following configuration:
    # touch /.unconfigured
    
  2. Remove SSH host keys:
    # rm -rf /etc/ssh/ssh_host_*
    
  3. Modify the HOSTNAME parameter setting under the /etc/sysconfig/network file to localhost.localdomain.
  4. Remove...
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