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

[Xen-users] Guest kickstart installation and guest autostart

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Guest kickstart installation and guest autostart
From: KC LO <kclo2000@xxxxxxxxx>
Date: Thu, 6 May 2010 16:33:14 +0800
Delivery-date: Thu, 06 May 2010 01:37:04 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=aVK26yqaIuQc0YvneEEzztKS+t3CU/bR3BZKOlBwJc8=; b=LXzpGfvyn5i4gRLEiU9gCqiSo3O6SxswbWuKDNG+lGia5HS+rI/GjhV9KjkfuqNLBn MVYk77BbEiSrmC/7DBsXLkxhwgGpar8XBooN/uAAGwM+L6ov71vugXM+YCLSqev6fDOt F6HWF7JbxHppsaNSnMOCJitVNOpnomTWCjGnI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hVa20TANQJu2X8SloRD5cvNUWObJQoHKR6l86aJJjN5xL0u0XLecf2RNi+sPmjEyt1 wC1v0KY92KQwkQQpys3O5av3tkttMYHrKmPk6nekGhp3T5j0K9vKzGGjqm3ANwZSl7sn BANzCs1Lf+nKuPQgusJwDvbBmXKwh9XFIRS4g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have installed xen-3.4.2-2.el5 on CentOS 5.4 64bit OS
 
I encounter two problems : -
1) How to use kickstart with virt-install to auto-install Linux guest?
 
I use the following command to do installation
 
virt-install -p --name=test --location=http://ftp.cuhk.edu.hk/pub/Linux/centos/5.4/os/i386 --file=/dev/VolGroup00/test1 -r 4096 -x="ip=1.1.1.1 netmask=255.255.255. dns=8.8.8.8 gateway=1.1.1.254 ks=http://2.2.2.2/ks2.cfg"
 
However, the installation startup can not get the IP address and go into DHCP.  After timeout, I need to input IP address and installation will proceed and get the kickstart config. 
Any suggestions?
 
2) How to auto start the guest DomU after Dom0 reboot?
After I have installed the guest DomU through virt-install, I want to make this DomU auto start in next Dom0 reboot.  After I type
virsh autostart test
It return the following errors:
error: Failed to mark domain test as autostarted
error: internal error sexpr2string failed
 
Any suggestions?
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>