'ks=http://192.168.1.201/pub/ks/as-ins.php?v=5AS&a=x86_64&r=U5
devfs=nomount ramdisk_size=16384 nofb text ksdevice=eth0
ip=10.12.10.192 gateway=10.12.11.254 netmask=255.255.252.0
dns=192.168.131.1 console=ttyS0,115200' is not a valid kickstart URL.

Try:
'ks=http://192.168.1.201/pub/ks/as-ins.php?v=5AS&a=x86_64&r=U5'
devfs=nomount ramdisk_size=16384 nofb text ksdevice=eth0
ip=10.12.10.192 gateway=10.12.11.254 netmask=255.255.252.0
dns=192.168.131.1 console=ttyS0,115200

CC

On Tue, Aug 10, 2010 at 12:13 AM, nodata <[email protected]> wrote:
> On 09/08/10 15:44, Kirby Zhou wrote:
>>
>> Can not use 'http://.....php?a=1&b=2&c=3' as kickstart conf in
>> virt-install with XEN
>>
>> If I remove the query string from ks URL, everything is OK.
>>
>> [...@djt_10_48 ~]# virt-install -p -n kvm-rhel5guest2 --ram 2048 --vcpus=4
>> -w bridge:vbr0 --disk=pool=vgext,size=24 --nographics
>> --os-variant=rhel5.4 -l
>> http://ftp.no.sohu.com/pub/os/Linux/RedHat/enterprise/x86_64/5ASU5/install
>> -x 'ks=http://192.168.1.201/pub/ks/as-ins.php?v=5AS&a=x86_64&r=U5
>> devfs=nomount ramdisk_size=16384 nofb text ksdevice=eth0 ip=10.12.10.192
>> gateway=10.12.11.254 netmask=255.255.252.0 dns=192.168.131.1
>> console=ttyS0,115200'
>
> This looks like you misquoted something. What happens when you also quote
> the ks file, e.g. ks="URL" ?
>
>>
>> Starting install...
>>
>> Retrieving file vmlinuz... | 2.0 MB 00:00
>>
>> Retrieving file initrd.img... | 7.7 MB 00:00
>>
>> ERROR POST operation failed: xend_post: error from xen daemon: (xend.err
>> 'Invalid configuration unexpected EOF')
>>
>> Domain installation may not have been
>>
>> successful. If it was, you can restart your domain
>>
>> by running 'virsh start kvm-rhel5guest2'; otherwise, please
>>
>> restart your installation.
>>
>> ERROR POST operation failed: xend_post: error from xen daemon: (xend.err
>> 'Invalid configuration unexpected EOF')
>>
>> Traceback (most recent call last):
>>
>> File "/usr/sbin/virt-install", line 889, in ?
>>
>> main()
>>
>> File "/usr/sbin/virt-install", line 751, in main
>>
>> start_time, guest.start_install)
>>
>> File "/usr/sbin/virt-install", line 813, in do_install
>>
>> dom = install_func(conscb, progresscb, wait=(not wait))
>>
>> File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in
>> start_install
>>
>> return self._do_install(consolecb, meter, removeOld, wait)
>>
>> File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in
>> _do_install
>>
>> self.domain = self.conn.createLinux(install_xml, 0)
>>
>> File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in
>> createLinux
>>
>> if ret is None:raise libvirtError('virDomainCreateLinux() failed',
>> conn=self)
>>
>> libvirtError: POST operation failed: xend_post: error from xen daemon:
>> (xend.err 'Invalid configuration unexpected EOF')
>>
>> Regards
>>
>> Kirby Zhou
>>
>>
>>
>> _______________________________________________
>> rhelv5-list mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/rhelv5-list
>
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list
>



-- 
RHCE#805007969328369

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to