WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Cloning VM's

David Koski <david@xxxxxxxxxxxxxxxx> wrote:

>> I was wondering if there are other "quick and dirty" ways to replicate
>> the environments.  I don't think the quick dd will work 100% since
>> although I can change the ip and hostname information on the definition
>> file and the vm itself, I'm not able to change the underlying MAC.
> 
> I use a script that creates LVM partitions for the root and swap
> partitions, then untars a debootstrap created image to it. Of
> course it makes the filesystems and mounts them first. It also
> creates a default config file. From executing the command to
> logging in takes about a minute. I could modify the script to
> change the hostname and other settings but I don't create enough
> VMs to make it worthwhile.

We use xfsdump/xfsrestore.

by
Töns
-- 
There is no safe distance.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>