[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Guest kickstart installation and guest autostart


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: KC LO <kclo2000@xxxxxxxxx>
  • Date: Thu, 6 May 2010 16:33:14 +0800
  • Delivery-date: Thu, 06 May 2010 01:37:04 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.