[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Guest kickstart installation and guest autostart
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |