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] Automate installation of VM images

To: Thawan Kooburat <kthawan@xxxxxxxxx>
Subject: Re: [Xen-users] Automate installation of VM images
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Wed, 21 Apr 2010 10:59:32 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 Apr 2010 21:02:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <u2y7ff80ef31004201517qecf3739l67b39736788910c@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <u2y7ff80ef31004201517qecf3739l67b39736788910c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Apr 21, 2010 at 5:17 AM, Thawan Kooburat <kthawan@xxxxxxxxx> wrote:
> I found that there are 2 main approaches of  this kind of work.
> 1. Use Kickstart or Preseeding to automate OS installation in VM.
> 2. Use yum or debootstrap to install OS into mounted VM image.

> Is there other alternatives?

install an OS manually, then use the disk as template for new
installations. i.e. new installation is just copying the old disk.
Some preparation for the template is necessary though. For example,
with RHEL5 you need to at least:
- edit network config so it use DHCP or disabled, to avoid IP address conflict
- remove /etc/ssh/*key*, so each domU has its own unique ssh server keys.

-- 
Fajar

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

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