33.18. Cloning guest configuration files
You can copy an existing configuration file to create an all new guest. You must modify the name parameter of the guests' configuration file. The new, unique name then appears in the hypervisor and is viewable by the management utilities. You must generate an all new UUID as well by using the
uuidgencommand. Then for the
vifentries you must define a unique MAC address for each guest (if you are copying a guest configuration from an existing guest, you can create a script to handle it). For the xen bridge information, if you move an existing guest configuration file to a new host, you must update the
xenbrentry to match your local networking configuration. For the Device entries, you must modify the entries in the
'disk='section to point to the correct guest image.
You must also modify these system configuration settings on your guest. You must modify the HOSTNAME entry of the
/etc/sysconfig/networkfile to match the new guest's hostname.
You must modify the
HWADDRaddress of the
/etc/sysconfig/network-scripts/ifcfg-eth0file to match the output from
ifconfig eth0file and if you use static IP addresses, you must modify the