Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Red Hat Enterprise Linux 9 Essentials Book now available.

Purchase a copy of Red Hat Enterprise Linux 9 (RHEL 9) Essentials

Red Hat Enterprise Linux 9 Essentials Print and eBook (PDF) editions contain 34 chapters and 298 pages

Preview Book

25.4. Duplicating an existing guest and its configuration file

This section outlines copying an existing configuration file to create a new guest. There are key parameters in your guest's configuration file you must be aware of, and modify, to successfully duplicate a guest.
The name of your guest as it is known to the hypervisor and displayed in the management utilities. This entry should be unique on your system.
A unique handle for the guest, a new UUID can be regenerated using the uuidgen command. A sample UUID output:
$ uuidgen 
  • The MAC address must define a unique MAC address for each guest. This is automatically done if the standard tools are used. If you are copying a guest configuration from an existing guest you can use the script Section 25.6, “Generating a new unique MAC address”.
  • If you are moving or duplicating an existing guest configuration file to a new host you have to make sure you adjust the xenbr entry to correspond with your local networking configuration (you can obtain the Red Hat Virtualization bridge information using the command brctl show.
  • Device entries, make sure you adjust the entries in the disk= section to point to the correct guest image.
Now, adjust the system configuration settings on your guest:
Modify the HOSTNAME entry to the guest's new hostname.
  • Modify the HWADDR address to the output from ifconfig eth0
  • Modify the IPADDR entry if a static IP address is used.
Change the SELinux enforcement policy from Enforcing to Disabled. Use the GUI tool system-config-securitylevel or the command:
# setenforce 0

  Published under the terms of the GNU General Public License Design by Interspire