Cobbler Server:  cobbler-1.0.2-1.el5 on RHEL5
I ran the following commands to produce boot CD :

cobbler distro add --arch=x86 --breed=redhat 
--initrd=/misc/mrepo/mrepo/rhel-server-5-i386/disc1/images/pxeboot/initrd.img 
--kernel=/misc/mrepo/mrepo/rhel-server-5-i386/disc1/images/pxeboot/vmlinuz 
--name=rhel-server-5-i386

cobbler profile add --distro=rhel-server-5-i386 
--kickstart=http://192.168.0.1/kickstart/rhel5es_small_testbuild.cfg 
--kopts='ip=192.168.0.2:192.168.0.1:192.168.0.1:255.255.255.0:testbuild::' 
--name=testbuild

cobbler buildiso


Then client boot off the CD
The error message on alt+f3 console is :
ERROR: no DNS servers, can't look up hostname
ERROR: failed to retrieve 
http://192.168.0.1///kickstart/rhel5es_small_testbuild.cfg 

There is no 404 error in apache log on cobbler server.  
I think the client can't get static IP 192.168.0.2 from cobbler server.
Maybe there is something wrong  with 
--kopts='ip=192.168.0.2:192.168.0.1:192.168.0.1:255.255.255.0:testbuild::'  ?

Client can  boot off the CD  and complete installation successfully when  I  
use --kopts='ip=dhcp:testbuild:: to produce profile.

I would like to know how to  grant static IP to client.  Any suggestion would 
be highly appreciated.

Healthy











       
---------------------------------
 雅虎邮箱,您的终生邮箱!
       
---------------------------------
 雅虎邮箱,您的终生邮箱!
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to